35 lines
958 B
JSON
35 lines
958 B
JSON
{
|
|
"layer": "top",
|
|
"position": "left",
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
"modules-right": ["cpu", "memory", "bluetooth", "battery", "pulseaudio", "tray", "sway/language", "clock"],
|
|
"sway/window": {
|
|
"max-length": 50
|
|
},
|
|
"cpu": {
|
|
"format": "CPU {usage}%"
|
|
},
|
|
"memory": {
|
|
"format": "🐏 {percentage}%"
|
|
},
|
|
"bluetooth": {
|
|
"format": " {status}",
|
|
"format-connected": " {device_alias}",
|
|
"format-connected-battery": " {device_alias} {device_battery_percentage}%",
|
|
},
|
|
"pulseaudio": {
|
|
"format": "🔈 {volume}%",
|
|
"format-bluetooth": "🔈 {volume}%"
|
|
},
|
|
"battery": {
|
|
"format": "🔋 {capacity}%"
|
|
},
|
|
"sway/language": {
|
|
"format": "⌨ {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}"
|
|
}
|
|
}
|