2024-10-21 21:36:06 +03:00
|
|
|
{
|
2024-11-02 22:35:53 +02:00
|
|
|
"height": 35,
|
|
|
|
"modules-left": [
|
|
|
|
"sway/workspaces",
|
|
|
|
"sway/mode",
|
|
|
|
"sway/window"
|
|
|
|
],
|
|
|
|
"modules-center": [],
|
|
|
|
"modules-right": [
|
|
|
|
"idle_inhibitor",
|
|
|
|
"pulseaudio",
|
|
|
|
"backlight",
|
|
|
|
"network",
|
|
|
|
//"cpu",
|
|
|
|
// "memory",
|
|
|
|
"battery",
|
|
|
|
"clock",
|
|
|
|
"tray",
|
|
|
|
"sway/language",
|
|
|
|
"keyboard-state",
|
|
|
|
],
|
|
|
|
"sway/mode": {
|
|
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
|
|
},
|
|
|
|
"sway/window": {
|
|
|
|
"max-length": 50
|
|
|
|
},
|
|
|
|
"tray": {
|
|
|
|
"spacing": 10
|
|
|
|
},
|
|
|
|
"clock": {
|
|
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
|
|
"format": " {:%Y-%m-%d %H:%M}"
|
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"format": " {usage}%",
|
|
|
|
"tooltip": false
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"format": " {}%"
|
|
|
|
},
|
|
|
|
"backlight": {
|
|
|
|
"format": "{icon} {percent}%",
|
|
|
|
"format-icons": [
|
|
|
|
"",
|
|
|
|
""
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"battery": {
|
|
|
|
"states": {
|
|
|
|
"warning": 30,
|
|
|
|
"critical": 15
|
2024-10-21 21:36:06 +03:00
|
|
|
},
|
2024-11-02 22:35:53 +02:00
|
|
|
"format": "{icon} {capacity}%",
|
|
|
|
"format-charging": " {capacity}%",
|
|
|
|
"format-plugged": " {capacity}%",
|
|
|
|
"format-alt": "{time} {icon}",
|
|
|
|
"format-icons": [
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
""
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"format-wifi": " ({signalStrength}%)",
|
|
|
|
"format-ethernet": " {ipaddr}",
|
|
|
|
"format-linked": " {ifname} (No IP)",
|
|
|
|
"format-disconnected": "⚠ Disconnected"
|
|
|
|
},
|
|
|
|
"pulseaudio": {
|
|
|
|
"format": "{icon} {volume}% {format_source}",
|
|
|
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
|
|
|
"format-bluetooth-muted": " {icon} {format_source}",
|
|
|
|
"format-muted": " {format_source}",
|
|
|
|
"format-source": " {volume}%",
|
|
|
|
"format-source-muted": "",
|
|
|
|
"format-icons": {
|
|
|
|
"headphone": "",
|
|
|
|
"hands-free": "",
|
|
|
|
"headset": "",
|
|
|
|
"phone": "",
|
|
|
|
"portable": "",
|
|
|
|
"car": "",
|
|
|
|
"default": [
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
""
|
|
|
|
]
|
2024-10-21 21:36:06 +03:00
|
|
|
},
|
2024-11-02 22:35:53 +02:00
|
|
|
"on-click": "pavucontrol"
|
|
|
|
},
|
|
|
|
"sway/language": {
|
|
|
|
"format": "{flag}",
|
|
|
|
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
|
|
|
},
|
|
|
|
"idle_inhibitor": {
|
2024-11-06 00:15:00 +02:00
|
|
|
"start-activated": true,
|
2024-11-02 22:35:53 +02:00
|
|
|
"format": "{icon}",
|
|
|
|
"format-icons": {
|
|
|
|
"activated": "",
|
|
|
|
"deactivated": ""
|
2024-10-21 21:36:06 +03:00
|
|
|
}
|
2024-11-02 22:35:53 +02:00
|
|
|
}
|
2024-10-21 21:36:06 +03:00
|
|
|
}
|