From dd0e58cc1229c9b173563f892277cbde23806962 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 13:19:48 +0100 Subject: [PATCH] Let swayidle call lock.nosmartcard --- states/sway/files/config.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -%} -- 2.46.2