Fix variable usage in templates
This commit is contained in:
parent
3df6af6d45
commit
92164a24dc
|
@ -14,7 +14,7 @@ fi
|
|||
export GPG_TTY=$(tty)
|
||||
|
||||
# Autostart sway at login
|
||||
{% if isVm == true %}
|
||||
{% if isVm | bool %}
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
{% endif %}
|
||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec sway; fi
|
|
@ -213,7 +213,7 @@ exec hash dbus-update-activation-environment 2>/dev/null && \
|
|||
exec waybar
|
||||
|
||||
# Autostart applications
|
||||
{% if nextcloud == true %}
|
||||
{% if nextcloud is defined and nextcloud | bool %}
|
||||
exec --no-startup-id nextcloud --background
|
||||
{% endif %}
|
||||
|
||||
|
@ -226,7 +226,7 @@ client.placeholder #c6c6c6 #1f1f1f #c6c6c6 #8abeb7 #8abeb7
|
|||
|
||||
client.background #1f1f1f
|
||||
|
||||
{% if isNotebook == true %}
|
||||
{% if isNotebook | bool %}
|
||||
# backlight control
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl -d intel_backlight set +5%
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl -d intel_backlight set 5%-
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
"reverse-scrolling": true,
|
||||
"on-click": "swaymsg exec amixer -q set Master toggle"
|
||||
},
|
||||
{% if isNotebook == true %}
|
||||
{% if isNotebook | bool %}
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
|
|
Loading…
Reference in a new issue