1
0
Fork 0
dotfiles/systemd/swayidle.service

13 lines
311 B
SYSTEMD

[Unit]
Description=swayidle: Manages lockscreen and display
[Service]
ExecStart=/sbin/swayidle \
timeout 300 %h/dotfiles/bin/screens-lock \
timeout 60 %h/dotfiles/bin/screens-off \
resume %h/dotfiles/bin/screens-on \
before-sleep %h/dotfiles/bin/screens-lock
[Install]
WantedBy=default.target