2021-10-30 10:30:11 +02:00
|
|
|
{
|
2023-11-21 12:38:10 +01:00
|
|
|
"layer": "top",
|
|
|
|
"position": "top",
|
|
|
|
"height": 31,
|
2022-01-22 22:59:30 +01:00
|
|
|
|
2023-11-21 12:38:10 +01:00
|
|
|
"modules-left": [
|
|
|
|
"sway/mode",
|
|
|
|
"sway/workspaces",
|
|
|
|
"sway/window"
|
|
|
|
],
|
2022-01-22 22:59:30 +01:00
|
|
|
|
2023-11-21 12:38:10 +01:00
|
|
|
"modules-right": [
|
|
|
|
"tray",
|
|
|
|
"custom/flatpak",
|
|
|
|
"custom/packages",
|
|
|
|
"cpu",
|
|
|
|
"memory",
|
|
|
|
"pulseaudio",
|
|
|
|
"clock",
|
|
|
|
],
|
2022-04-24 13:45:44 +02:00
|
|
|
|
2023-11-21 12:38:10 +01:00
|
|
|
"sway/mode": {
|
|
|
|
"format": " {}",
|
2021-10-30 10:30:11 +02:00
|
|
|
},
|
2023-11-21 12:38:10 +01:00
|
|
|
"sway/workspaces": {
|
|
|
|
"disable-scroll": true,
|
|
|
|
"disable-click": true,
|
2021-10-30 10:30:11 +02:00
|
|
|
},
|
2023-11-21 12:38:10 +01:00
|
|
|
"sway/window": {
|
|
|
|
"format": "{}",
|
|
|
|
"max-length": 50,
|
2021-10-30 10:30:11 +02:00
|
|
|
},
|
2023-11-21 12:38:10 +01:00
|
|
|
"tray": {
|
|
|
|
"icon-size": 22,
|
|
|
|
"spacing": 5,
|
|
|
|
},
|
|
|
|
"clock": {
|
|
|
|
"interval": 10,
|
|
|
|
"format": "{:%a %e.%b.%Y %R}",
|
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"interval": 5,
|
|
|
|
"format": " {usage}%",
|
|
|
|
"tooltip": false,
|
|
|
|
"states": {
|
|
|
|
"warning": 70,
|
|
|
|
"critical": 90
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"interval": 5,
|
|
|
|
"format": " {}%",
|
|
|
|
"tooltip": false,
|
|
|
|
"states": {
|
|
|
|
"warning": 70,
|
|
|
|
"critical": 90
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"pulseaudio": {
|
|
|
|
"format": "{volume}% {icon} {format_source}",
|
|
|
|
"format-source": "{volume}%",
|
|
|
|
"format-muted": " {format-source}",
|
|
|
|
"format-icons": {
|
|
|
|
"headphone": "",
|
|
|
|
"hands-free": "",
|
|
|
|
"headset": "",
|
|
|
|
"phone": "",
|
|
|
|
"portable": "",
|
|
|
|
"default": ["", ""],
|
|
|
|
},
|
|
|
|
"tooltip": false,
|
|
|
|
},
|
|
|
|
"custom/packages": {
|
|
|
|
"format": " {}",
|
|
|
|
"interval": 3600,
|
|
|
|
"exec": "checkupdates | wc -l",
|
|
|
|
"exec-if": "exit 0",
|
|
|
|
"on-click": "exit 0",
|
|
|
|
"signal": 8,
|
|
|
|
"tooltip": false,
|
|
|
|
},
|
|
|
|
"custom/flatpak": {
|
|
|
|
"format": " {}",
|
|
|
|
"interval": 3600,
|
|
|
|
"exec": "flatpak remote-ls --updates | wc -l",
|
|
|
|
"exec-if": "exit 0",
|
|
|
|
"on-click": "exit 0",
|
|
|
|
"signal": 8,
|
|
|
|
"tooltip": false,
|
2021-10-30 10:30:11 +02:00
|
|
|
},
|
|
|
|
}
|