2021-01-07 18:11:30 +01:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"layer": "bottom",
|
|
|
|
"position": "bottom",
|
2021-01-08 09:39:31 +01:00
|
|
|
"margin": 4,
|
2021-01-07 18:11:30 +01:00
|
|
|
"modules-left": [
|
2021-01-08 09:39:31 +01:00
|
|
|
"sway/workspaces",
|
2021-01-12 17:45:36 +01:00
|
|
|
"sway/mode"
|
2021-01-08 09:39:31 +01:00
|
|
|
],
|
|
|
|
"modules-center": [
|
2021-01-07 18:11:30 +01:00
|
|
|
],
|
|
|
|
"modules-right": [
|
|
|
|
"disk#1",
|
|
|
|
"disk#2",
|
|
|
|
"network",
|
|
|
|
"cpu",
|
|
|
|
"memory",
|
2021-01-08 09:39:31 +01:00
|
|
|
"temperature#1",
|
|
|
|
"temperature#2",
|
|
|
|
"temperature#3",
|
2021-01-07 18:11:30 +01:00
|
|
|
"pulseaudio",
|
2021-01-12 17:45:36 +01:00
|
|
|
// "custom/multimedia_previous",
|
|
|
|
// "custom/multimedia_current",
|
|
|
|
// "custom/multimedia_next",
|
|
|
|
"mpd",
|
2021-01-07 18:11:30 +01:00
|
|
|
"clock",
|
|
|
|
"tray"
|
|
|
|
],
|
2021-01-08 09:39:31 +01:00
|
|
|
"sway/workspaces": {
|
|
|
|
"all-outputs": true
|
|
|
|
},
|
|
|
|
"sway/mode": {
|
|
|
|
"format": " {}"
|
|
|
|
},
|
2021-01-07 18:11:30 +01:00
|
|
|
"disk#1": {
|
|
|
|
"interval": 60,
|
|
|
|
"format": " {percentage_used:2}%",
|
|
|
|
"path": "/"
|
|
|
|
},
|
|
|
|
"disk#2": {
|
|
|
|
"interval": 60,
|
|
|
|
"format": " {percentage_used:2}%",
|
|
|
|
"path": "/home"
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"interface": "eno2",
|
|
|
|
"format": " {ipaddr}",
|
|
|
|
"format-disconnected": "-"
|
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"format": " {load}%"
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"format": " {percentage}%"
|
|
|
|
},
|
2021-01-08 09:39:31 +01:00
|
|
|
"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"
|
|
|
|
},
|
2021-01-07 18:11:30 +01:00
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"custom/multimedia_previous": {
|
|
|
|
"format": "",
|
|
|
|
"on-click": "~/Bin/music.sh Previous"
|
|
|
|
},
|
|
|
|
"custom/multimedia_current": {
|
2021-01-07 20:52:50 +01:00
|
|
|
"interval": 10,
|
2021-01-07 18:11:30 +01:00
|
|
|
"exec": "~/Bin/nowPlaying.sh",
|
2021-01-08 09:39:31 +01:00
|
|
|
"on-click": "~/Bin/music.sh PlayPause"
|
2021-01-07 18:11:30 +01:00
|
|
|
},
|
|
|
|
"custom/multimedia_next": {
|
|
|
|
"format": "",
|
|
|
|
"on-click": "~/Bin/music.sh Next"
|
|
|
|
},
|
2021-01-12 17:45:36 +01:00
|
|
|
"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)"
|
|
|
|
},
|
2021-01-07 18:11:30 +01:00
|
|
|
"clock": {
|
|
|
|
"format": "{:%d/%m %H:%M}"
|
|
|
|
},
|
|
|
|
"tray": {
|
|
|
|
"spacing": 10
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|