Fix variable usage in templates

This commit is contained in:
Oliver Traber 2023-11-26 22:24:59 +01:00
parent 3df6af6d45
commit 92164a24dc
Signed by: Bluemedia
GPG key ID: C0674B105057136C
3 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ fi
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
# Autostart sway at login # Autostart sway at login
{% if isVm == true %} {% if isVm | bool %}
export WLR_NO_HARDWARE_CURSORS=1 export WLR_NO_HARDWARE_CURSORS=1
{% endif %} {% endif %}
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec sway; fi if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec sway; fi

View file

@ -213,7 +213,7 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
exec waybar exec waybar
# Autostart applications # Autostart applications
{% if nextcloud == true %} {% if nextcloud is defined and nextcloud | bool %}
exec --no-startup-id nextcloud --background exec --no-startup-id nextcloud --background
{% endif %} {% endif %}
@ -226,7 +226,7 @@ client.placeholder #c6c6c6 #1f1f1f #c6c6c6 #8abeb7 #8abeb7
client.background #1f1f1f client.background #1f1f1f
{% if isNotebook == true %} {% if isNotebook | bool %}
# backlight control # backlight control
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl -d intel_backlight set +5% bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl -d intel_backlight set +5%
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl -d intel_backlight set 5%- bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl -d intel_backlight set 5%-

View file

@ -30,7 +30,7 @@
"reverse-scrolling": true, "reverse-scrolling": true,
"on-click": "swaymsg exec amixer -q set Master toggle" "on-click": "swaymsg exec amixer -q set Master toggle"
}, },
{% if isNotebook == true %} {% if isNotebook | bool %}
"battery": { "battery": {
"format": "{icon} {capacity}%", "format": "{icon} {capacity}%",
"format-charging": " {capacity}%", "format-charging": " {capacity}%",