mirror of https://github.com/ericonr/dotfiles.git
8 lines
180 B
Plaintext
8 lines
180 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
exec swayidle -w \
|
||
|
timeout 300 'swaylock' \
|
||
|
timeout 600 'swaymsg "output * dpms off"' \
|
||
|
resume 'swaymsg "output * dpms on"' \
|
||
|
before-sleep 'swaylock'
|