added gpg updatestartuptty command to swayidle (for real)

This commit is contained in:
Ezri Brimhall 2024-03-19 16:23:43 -06:00
parent d68da62123
commit bd9267fd5b
Signed by: ezri
GPG Key ID: 3DA1675C4E9B9216
2 changed files with 1 additions and 2 deletions

View File

@ -1 +0,0 @@
swayidle##class.desktop

View File

@ -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'