diff --git a/.config/sway/swayidle b/.config/sway/swayidle deleted file mode 120000 index 7ff72f1..0000000 --- a/.config/sway/swayidle +++ /dev/null @@ -1 +0,0 @@ -swayidle##class.desktop \ No newline at end of file diff --git a/.config/sway/swayidle##class.desktop b/.config/sway/swayidle##class.desktop index 9d76319..d8b8803 100644 --- a/.config/sway/swayidle##class.desktop +++ b/.config/sway/swayidle##class.desktop @@ -1,6 +1,6 @@ # -*-conf-*- -timeout 10 'pgrep swaylock &> /dev/null && swaymsg "output * power off"' resume 'pgrep swaylock &> /dev/null && swaymsg "output * power on"' +timeout 10 'pgrep swaylock &> /dev/null && swaymsg "output * power off"' resume 'pgrep swaylock &> /dev/null && swaymsg "output * power on" && gpg-connect-agent UPDATESTARTUPTTY /bye' timeout 15 'pgrep swaylock &> /dev/null && pkill -u 1000 -SIGSTOP electron' resume 'pgrep swaylock &> /dev/null && pkill -u 1000 -SIGCONT electron' lock ~/.local/bin/screenlock before-sleep 'loginctl lock-session'