]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/sway/files/config.jinja
Let swayidle call lock.nosmartcard
[max/saltfiles.git] / states / sway / files / config.jinja
index e474512d580cbfecf26a1cacac89eeea83c7ca18..536627f0a02e01ad5d5e6617c4623f69778de8ab 100644 (file)
@@ -183,10 +183,10 @@ for_window [class="^rdesktop"] move workspace number 9; floating disable
 for_window [class="Pinentry"] floating enable
 
 exec swayidle \
-  timeout 300 "lock.{{ host }}" \
+  timeout 300 "lock.nosmartcard" \
   timeout 600 'swaymsg "output * dpms off"' \
     resume 'swaymsg "output * dpms on" \
-  before-sleep "lock.{{ host }}"
+  before-sleep "lock.nosmartcard"
 
 # host specific section
 {%- do salt.log.error('sway/files/' + host) -%}