From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 12:19:48 +0000 (+0100) Subject: Let swayidle call lock.nosmartcard X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=dd0e58cc1229c9b173563f892277cbde23806962;p=max%2Fsaltfiles.git Let swayidle call lock.nosmartcard --- diff --git a/states/sway/files/config.jinja b/states/sway/files/config.jinja index e474512..536627f 100644 --- a/states/sway/files/config.jinja +++ b/states/sway/files/config.jinja @@ -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) -%}