shell-things/conf/waybar/config.json

39 lines
1.0 KiB
JSON
Raw Normal View History

{
"layer": "top",
"position": "left",
"modules-left": ["sway/workspaces", "sway/mode"],
2022-06-06 11:50:45 +02:00
"modules-right": ["cpu", "memory", "battery", "pulseaudio", "sway/language", "bluetooth", "tray", "clock"],
"sway/window": {
"max-length": 50
},
2022-05-26 22:35:40 +02:00
"cpu": {
"format": "CPU {usage}%"
},
"memory": {
"format": "RAM {percentage}%"
2022-05-26 22:35:40 +02:00
},
"bluetooth": {
"format": "BT {status}",
"format-connected": "BT {device_alias}",
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
},
2022-05-26 22:35:40 +02:00
"pulseaudio": {
"format": "VOL {volume}%",
"format-bluetooth": "BT VOL {volume}%"
2022-05-26 22:35:40 +02:00
},
"battery": {
"states": {
"warning": 45,
"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}"
}
}