2022-05-26 21:48:45 +02:00
|
|
|
{
|
|
|
|
"layer": "top",
|
|
|
|
"position": "left",
|
|
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
2023-01-20 19:22:13 +01:00
|
|
|
"modules-right": ["cpu", "memory", "battery", "pulseaudio", "sway/language", "network", "bluetooth", "tray", "clock"],
|
2022-05-26 21:48:45 +02:00
|
|
|
"sway/window": {
|
|
|
|
"max-length": 50
|
|
|
|
},
|
2022-05-26 22:35:40 +02:00
|
|
|
"cpu": {
|
|
|
|
"format": "CPU {usage}%"
|
|
|
|
},
|
|
|
|
"memory": {
|
2022-06-04 13:07:09 +02:00
|
|
|
"format": "RAM {percentage}%"
|
2022-05-26 22:35:40 +02:00
|
|
|
},
|
2022-05-29 12:08:13 +02:00
|
|
|
"bluetooth": {
|
2022-06-04 13:07:09 +02:00
|
|
|
"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": {
|
2022-06-04 13:07:09 +02:00
|
|
|
"format": "VOL {volume}%",
|
|
|
|
"format-bluetooth": "BT VOL {volume}%"
|
2022-05-26 22:35:40 +02:00
|
|
|
},
|
2022-05-26 21:48:45 +02:00
|
|
|
"battery": {
|
2022-06-04 13:00:04 +02:00
|
|
|
"states": {
|
2022-06-12 15:54:17 +02:00
|
|
|
"warning": 45,
|
2022-06-04 13:00:04 +02:00
|
|
|
"critical": 20
|
|
|
|
},
|
2022-06-04 13:07:09 +02:00
|
|
|
"format": "BAT {capacity}%"
|
2022-05-29 12:08:13 +02:00
|
|
|
},
|
|
|
|
"sway/language": {
|
2022-06-04 13:07:09 +02:00
|
|
|
"format": "KBD {short} {variant}",
|
|
|
|
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
2022-05-26 21:48:45 +02:00
|
|
|
},
|
2023-01-20 19:22:13 +01:00
|
|
|
"network": {
|
2023-01-20 20:21:02 +01:00
|
|
|
//"interface": "wlan0",
|
2023-01-20 19:22:13 +01:00
|
|
|
"format": "{ifname}",
|
2023-01-20 20:21:02 +01:00
|
|
|
"format-wifi": "{signalStrength}% {essid}",
|
2023-01-20 19:22:13 +01:00
|
|
|
"format-ethernet": "{ifname} ",
|
|
|
|
"format-disconnected": "", //An empty format will hide the module.
|
|
|
|
"format-disconnected": "",
|
|
|
|
"tooltip-format": "{ifname}",
|
|
|
|
"tooltip-format-wifi": "{essid} ({signalStrength}%) ",
|
|
|
|
"tooltip-format-ethernet": "{ifname} ",
|
|
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
|
|
"max-length": 50
|
|
|
|
},
|
2022-05-26 21:48:45 +02:00
|
|
|
"clock": {
|
2022-05-31 16:39:02 +02:00
|
|
|
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
|
2022-05-26 21:48:45 +02:00
|
|
|
}
|
|
|
|
}
|