Fix whitespaces in templates

This commit is contained in:
Oliver Traber 2024-05-27 23:37:19 +02:00
parent bfd2d6ca03
commit 28a08ec28e
Signed by: Bluemedia
GPG key ID: C0674B105057136C
5 changed files with 18 additions and 17 deletions

View file

@ -1,7 +1,7 @@
{
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"],
"modules-right": ["cpu", "memory", "network", "pulseaudio", {% if isNotebook | bool %}"battery", {% endif %}"custom/power"],
"modules-right": ["cpu", "memory", "network", "pulseaudio", {% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}"battery", {% endif %}"custom/power"],
"hyprland/workspaces": {},
"clock": {
"format": " {:%H:%M %d.%m.}",
@ -27,12 +27,12 @@
"format-icons": ["", "", ""],
"reverse-scrolling": true,
"on-click": "swaymsg exec amixer -q set Master toggle"
{% if (hostvars[ansible_hostname]['mobile_platform'] | default('false')) | bool %}
},
{% if hostvars[ansible_hostname]['mobile_platform'] | bool %}
"battery": {
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-icons": ["", "", "", "", ""]
}
{% endif %}
}
}