]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Let swayidle call lock.nosmartcard
authorMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 6 Aug 2019 12:19:48 +0000 (13:19 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 6 Aug 2019 12:19:48 +0000 (13:19 +0100)
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) -%}