11 lines
527 B
Plaintext
11 lines
527 B
Plaintext
# -*-conf-*-
|
|
|
|
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'
|
|
timeout 300 'loginctl lock-session && swaymsg "output * power off"'
|
|
lock ~/.local/bin/screenlock
|
|
before-sleep 'loginctl lock-session'
|
|
unlock 'pkill -SIGUSR1 swaylock'
|
|
idlehint 600
|
|
|