280 lines
6.4 KiB
Text
280 lines
6.4 KiB
Text
[
|
|
{
|
|
"name": "thinkstation",
|
|
"layer": "bottom",
|
|
"position": "top",
|
|
"margin": 4,
|
|
"output": "HDMI-A-3",
|
|
"modules-left": [
|
|
"sway/workspaces",
|
|
"sway/mode"
|
|
],
|
|
"modules-center": [
|
|
],
|
|
"modules-right": [
|
|
"disk#1",
|
|
"disk#2",
|
|
"network",
|
|
"cpu",
|
|
"memory",
|
|
"temperature#1",
|
|
"temperature#2",
|
|
"temperature#3",
|
|
"pulseaudio",
|
|
"mpd",
|
|
"clock",
|
|
"tray"
|
|
],
|
|
"sway/workspaces": {
|
|
"all-outputs": true
|
|
},
|
|
"sway/mode": {
|
|
"format": " {}",
|
|
"max-length": 50
|
|
},
|
|
"disk#1": {
|
|
"interval": 60,
|
|
"format": " {percentage_used:2}%",
|
|
"path": "/",
|
|
"tooltip": false,
|
|
},
|
|
"disk#2": {
|
|
"interval": 60,
|
|
"format": " {percentage_used:2}%",
|
|
"path": "/home",
|
|
"tooltip": false
|
|
},
|
|
"network": {
|
|
"interface": "eno2",
|
|
"format": " {ipaddr}",
|
|
"format-disconnected": "-",
|
|
"tooltip": false
|
|
},
|
|
"cpu": {
|
|
"format": " {load}%",
|
|
"tooltip": false
|
|
},
|
|
"memory": {
|
|
"format": " {percentage}%",
|
|
"tooltip": false
|
|
},
|
|
"temperature#1": {
|
|
"thermal-zone": 2,
|
|
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
|
"format": " {temperatureC}°C"
|
|
},
|
|
"temperature#2": {
|
|
"thermal-zone": 0,
|
|
"hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
|
|
"format": "{temperatureC}°C"
|
|
},
|
|
"temperature#3": {
|
|
"thermal-zone": 1,
|
|
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
|
"format": "{temperatureC}°C"
|
|
},
|
|
"pulseaudio": {
|
|
"format": "♪ {volume}% {icon}",
|
|
"format-bluetooth": "{volume}% {icon}",
|
|
"format-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", ""]
|
|
},
|
|
"scroll-step": 5,
|
|
"on-click": "pavucontrol",
|
|
"tooltip": false
|
|
},
|
|
"custom/multimedia_previous": {
|
|
"format": "",
|
|
"on-click": "~/bin/music.sh Previous"
|
|
},
|
|
"custom/multimedia_current": {
|
|
"interval": 10,
|
|
"exec": "~/bin/nowPlaying.sh",
|
|
"on-click": "~/bin/music.sh PlayPause"
|
|
},
|
|
"custom/multimedia_next": {
|
|
"format": "",
|
|
"on-click": "~/bin/music.sh Next"
|
|
},
|
|
"mpd": {
|
|
"format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {title} ",
|
|
"format-disconnected": "Disconnected ",
|
|
"format-stopped": "{randomIcon}{repeatIcon}{singleIcon} Stopped ",
|
|
"interval": 10,
|
|
"random-icons": {
|
|
"off": "<span color=\"#f53c3c\"></span> ", // Icon grayed out when "random" is off
|
|
"on": " "
|
|
},
|
|
"repeat-icons": {
|
|
"off": "<span color=\"#f53c3c\"></span> ",
|
|
"on": " "
|
|
},
|
|
"state-icons": {
|
|
"paused": " ",
|
|
"playing": " "
|
|
},
|
|
"single-icons": {
|
|
"on": "1"
|
|
},
|
|
"tooltip-format": "MPD (connected)",
|
|
"tooltip-format-disconnected": "MPD (disconnected)",
|
|
"tooltip": false
|
|
},
|
|
"clock": {
|
|
"format": "{:%d/%m %H:%M}",
|
|
"tooltip": false
|
|
},
|
|
"tray": {
|
|
"spacing": 10
|
|
}
|
|
},
|
|
{
|
|
"name": "laptop",
|
|
"layer": "bottom",
|
|
"position": "top",
|
|
"margin": 4,
|
|
"output": ["eDP-1","DP-2"],
|
|
"modules-left": [
|
|
"sway/workspaces",
|
|
"sway/mode",
|
|
],
|
|
"modules-center": [
|
|
"custom/clock",
|
|
],
|
|
"modules-right": [
|
|
"network#openvpn",
|
|
"network",
|
|
"temperature",
|
|
"cpu",
|
|
"memory",
|
|
"battery",
|
|
"backlight",
|
|
"pulseaudio",
|
|
"tray"
|
|
],
|
|
"custom/clock": {
|
|
"exec": "date +'%A %d/%m/%Y %H:%M'",
|
|
"interval": 60,
|
|
},
|
|
"sway/workspaces": {
|
|
"all-outputs": true
|
|
},
|
|
"sway/mode": {
|
|
"format": " {}",
|
|
"max-length": 50
|
|
},
|
|
"disk#1": {
|
|
"interval": 60,
|
|
"format": " {percentage_used:2}%",
|
|
"path": "/",
|
|
"tooltip": true,
|
|
},
|
|
"disk#2": {
|
|
"interval": 60,
|
|
"format": " {percentage_used:2}%",
|
|
"path": "/home",
|
|
"tooltip": true
|
|
},
|
|
"battery": {
|
|
"bat": "BAT0",
|
|
"interval": 60,
|
|
"states": {
|
|
"warning": 40,
|
|
"critical": 25
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
"format-icons": ["", "", "", "", ""],
|
|
"max-length": 25,
|
|
"tooltip": true
|
|
},
|
|
"network": {
|
|
"interface": "wlp59s0",
|
|
"format": "{ifname}",
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "{ifname} ",
|
|
"format-disconnected": "", //An empty format will hide the module.
|
|
"max-length": 50,
|
|
"tooltip": true,
|
|
"interval": 60,
|
|
},
|
|
"network#openvpn": {
|
|
"interface": "tun0",
|
|
"format": "🔒",
|
|
"format-disconnected": "🔓", //An empty format will hide the module.
|
|
"max-length": 50,
|
|
"tooltip": true,
|
|
"interval": 60,
|
|
},
|
|
"cpu": {
|
|
"format": " {load}%",
|
|
"tooltip": true
|
|
},
|
|
"memory": {
|
|
"format": " {percentage}%",
|
|
"tooltip": true
|
|
},
|
|
"temperature": {
|
|
"thermal-zone": 1,
|
|
"hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
|
|
"format": " {temperatureC}°C",
|
|
"tooltip": true,
|
|
},
|
|
"backlight": {
|
|
"device": "intel_backlight",
|
|
"format": "{percent}% {icon}",
|
|
"format-icons": ["", ""],
|
|
"tooltip": true,
|
|
},
|
|
"pulseaudio": {
|
|
"format": "♪ {volume}% {icon}",
|
|
"format-bluetooth": "{volume}% {icon}",
|
|
"format-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", ""]
|
|
},
|
|
"scroll-step": 5,
|
|
"on-click": "pavucontrol",
|
|
"tooltip": true
|
|
},
|
|
"mpd": {
|
|
"format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
|
|
"format-disconnected": "Disconnected ",
|
|
"format-stopped": "{randomIcon}{repeatIcon}{singleIcon} Stopped ",
|
|
"interval": 10,
|
|
"random-icons": {
|
|
"off": "<span color=\"#f53c3c\"></span> ", // Icon grayed out when "random" is off
|
|
"on": " "
|
|
},
|
|
"repeat-icons": {
|
|
"off": "<span color=\"#f53c3c\"></span> ",
|
|
"on": " "
|
|
},
|
|
"state-icons": {
|
|
"paused": " ",
|
|
"playing": " "
|
|
},
|
|
"single-icons": {
|
|
"on": "1"
|
|
},
|
|
"tooltip-format": "MPD (connected)",
|
|
"tooltip-format-disconnected": "MPD (disconnected)",
|
|
"tooltip": true
|
|
},
|
|
"tray": {
|
|
"spacing": 10
|
|
}
|
|
}
|
|
]
|