2022-05-26 21:48:45 +02:00
|
|
|
{
|
2023-02-13 11:50:30 +01:00
|
|
|
"layer": "top",
|
|
|
|
"position": "left",
|
|
|
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
|
|
|
"modules-right": ["cpu", "memory", "battery", "pulseaudio", "sway/language", "network", "bluetooth", "tray", "clock"],
|
|
|
|
"sway/window": {
|
|
|
|
"max-length": 50
|
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"format": "CPU {usage}%"
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"format": "RAM {percentage}%"
|
|
|
|
},
|
2022-05-29 12:08:13 +02:00
|
|
|
"bluetooth": {
|
2023-02-13 11:50:30 +01:00
|
|
|
"format": "BT {status}",
|
|
|
|
"format-connected": "BT {device_alias}",
|
|
|
|
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
|
|
|
|
},
|
|
|
|
"pulseaudio": {
|
|
|
|
"format": "VOL {volume}%",
|
2023-02-13 11:52:42 +01:00
|
|
|
"format-bluetooth": "BT VOL {volume}%",
|
|
|
|
"ignored-sinks": ["Easy Effects Sink", "Easy Effects Source"]
|
2023-02-13 11:50:30 +01: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"
|
|
|
|
},
|
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-21 19:41:47 +01:00
|
|
|
"format-wifi": "{frequency}G {signalStrength}% {essid}",
|
2023-01-21 15:05:53 +01:00
|
|
|
"format-ethernet": "{ifname} up",
|
2023-01-21 19:41:47 +01:00
|
|
|
"format-disconnected": "",
|
2023-01-20 19:22:13 +01:00
|
|
|
"tooltip-format": "{ifname}",
|
2023-01-21 19:41:47 +01:00
|
|
|
"tooltip-format-wifi": "{frequency}G {signalStrength}% {essid}",
|
2023-01-21 15:05:53 +01:00
|
|
|
"tooltip-format-ethernet": "{ifname} up",
|
2023-01-20 19:22:13 +01:00
|
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
|
|
"max-length": 50
|
|
|
|
},
|
2023-02-13 11:50:30 +01:00
|
|
|
"clock": {
|
|
|
|
"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
|
|
|
}
|