Fix whitespaces in templates
This commit is contained in:
parent
bfd2d6ca03
commit
28a08ec28e
5 changed files with 18 additions and 17 deletions
|
@ -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 %}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue