Created
March 5, 2022 00:48
-
-
Save jfrederickson/bf7ae66d98764d889bbde4370d0d7a82 to your computer and use it in GitHub Desktop.
swayidle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exec swayidle -w timeout 300 'swaylock -f -i /home/jfred/Pictures/wallpaper/dennoucoil.jpeg' \ | |
timeout 10 'if pgrep swaylock; then swaymsg "output * dpms off"; fi' \ | |
resume 'swaymsg "output * dpms on"' \ | |
before-sleep 'swaylock -f -i /home/jfred/Pictures/wallpaper/dennoucoil.jpeg' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment