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"],
|
2023-02-21 16:54:39 +01:00
|
|
|
"modules-right": [
|
2023-02-27 16:58:12 +01:00
|
|
|
"gamemode",
|
2023-02-21 16:54:39 +01:00
|
|
|
"cpu",
|
|
|
|
"memory",
|
|
|
|
"battery",
|
|
|
|
"pulseaudio",
|
|
|
|
"sway/language",
|
|
|
|
"network",
|
|
|
|
"bluetooth",
|
|
|
|
"tray",
|
|
|
|
"clock"
|
|
|
|
],
|
2023-02-13 11:50:30 +01:00
|
|
|
"sway/window": {
|
|
|
|
"max-length": 50
|
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"format": "CPU {usage}%"
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"format": "RAM {percentage}%"
|
|
|
|
},
|
2023-02-21 16:54:39 +01:00
|
|
|
"bluetooth": {
|
|
|
|
"format": "BT {status}",
|
|
|
|
"format-connected": "BT {device_alias}",
|
|
|
|
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
|
2023-02-13 11:50:30 +01:00
|
|
|
},
|
|
|
|
"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
|
2023-02-21 16:54:39 +01:00
|
|
|
},
|
2023-02-13 11:50:30 +01:00
|
|
|
"format": "BAT {capacity}%"
|
|
|
|
},
|
|
|
|
"sway/language": {
|
|
|
|
"format": "KBD {short} {variant}",
|
|
|
|
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
|
|
|
},
|
2023-02-21 16:54:39 +01:00
|
|
|
"network": {
|
|
|
|
//"interface": "wlan0",
|
|
|
|
"format": "{ifname}",
|
|
|
|
"format-wifi": "{frequency}G {signalStrength}% {essid}",
|
|
|
|
"format-ethernet": "{ifname} up",
|
|
|
|
"format-disconnected": "",
|
|
|
|
"tooltip-format": "{ifname}",
|
|
|
|
"tooltip-format-wifi": "{frequency}G {signalStrength}% {essid}",
|
|
|
|
"tooltip-format-ethernet": "{ifname} up",
|
|
|
|
"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
|
|
|
}
|