mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-20 10:09:29 +01:00
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"layer": "top",
|
|
"position": "left",
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
"modules-right": ["cpu", "memory", "bluetooth", "battery", "pulseaudio", "sway/language", "tray", "clock"],
|
|
"sway/window": {
|
|
"max-length": 50
|
|
},
|
|
"cpu": {
|
|
"format": "CPU {usage}%"
|
|
},
|
|
"memory": {
|
|
"format": "RAM {percentage}%"
|
|
},
|
|
"bluetooth": {
|
|
"format": "BT {status}",
|
|
"format-connected": "BT {device_alias}",
|
|
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
|
|
},
|
|
"pulseaudio": {
|
|
"format": "VOL {volume}%",
|
|
"format-bluetooth": "BT VOL {volume}%"
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"warning": 40,
|
|
"critical": 20
|
|
},
|
|
"format": "BAT {capacity}%"
|
|
},
|
|
"sway/language": {
|
|
"format": "KBD {short} {variant}",
|
|
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
|
},
|
|
"clock": {
|
|
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
|
|
}
|
|
}
|