diff --git a/example/swayidle b/example/swayidle new file mode 100644 index 0000000..a852376 --- /dev/null +++ b/example/swayidle @@ -0,0 +1,6 @@ +timeout 45 'pgrep swaylock && systemctl suspend' + +timeout 435 'dim && swaylock' +timeout 480 'systemctl suspend' + +before-sleep 'playerctl pause -i kdeconnect; swaylock'