2023-11-22 22:55:38 +01:00
|
|
|
{
|
2024-02-25 20:30:31 +01:00
|
|
|
"modules-left": ["hyprland/workspaces"],
|
2023-11-22 22:55:38 +01:00
|
|
|
"modules-center": ["clock"],
|
2024-05-27 23:37:19 +02:00
|
|
|
"modules-right": ["cpu", "memory", "network", "pulseaudio", {% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}"battery", {% endif %}"custom/power"],
|
2024-02-25 20:30:31 +01:00
|
|
|
"hyprland/workspaces": {},
|
2023-11-22 22:55:38 +01:00
|
|
|
"clock": {
|
|
|
|
"format": " {:%H:%M %d.%m.}",
|
|
|
|
"timezone": "Europe/Berlin"
|
|
|
|
},
|
|
|
|
"cpu": {
|
|
|
|
"interval": 5,
|
|
|
|
"format": " {usage}%"
|
|
|
|
},
|
|
|
|
"memory": {
|
|
|
|
"interval": 5,
|
|
|
|
"format": " {used} GiB/{total} GiB ({percentage}%)"
|
|
|
|
},
|
|
|
|
"network": {
|
|
|
|
"format-ethernet": " {ipaddr}",
|
|
|
|
"format-wifi": "{icon} {essid}",
|
|
|
|
"format-disconnected": "",
|
|
|
|
"format-icons": ["", "", "", "", ""]
|
|
|
|
},
|
|
|
|
"pulseaudio": {
|
|
|
|
"format": "{icon} {volume}%",
|
|
|
|
"format-muted": " muted",
|
|
|
|
"format-icons": ["", "", ""],
|
|
|
|
"reverse-scrolling": true,
|
|
|
|
"on-click": "swaymsg exec amixer -q set Master toggle"
|
2024-05-27 23:37:19 +02:00
|
|
|
{% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}
|
2023-11-22 22:55:38 +01:00
|
|
|
},
|
|
|
|
"battery": {
|
|
|
|
"format": "{icon} {capacity}%",
|
|
|
|
"format-charging": " {capacity}%",
|
|
|
|
"format-icons": ["", "", "", "", ""]
|
2024-05-27 20:57:26 +02:00
|
|
|
{% endif %}
|
2024-05-27 23:37:19 +02:00
|
|
|
}
|
2023-11-22 22:55:38 +01:00
|
|
|
}
|