1
0
Fork 0
dotfiles/systemd/swayidle.service

13 lines
355 B
SYSTEMD
Raw Normal View History

2020-09-12 07:58:57 +00:00
[Unit]
Description=swayidle: Manages lockscreen and display
[Service]
ExecStart=/sbin/swayidle \
timeout 300 /home/gregory/dotfiles/bin/screens-lock \
timeout 60 /home/gregory/dotfiles/bin/screens-off \
resume /home/gregory/dotfiles/bin/screens-on \
before-sleep /home/gregory/dotfiles/bin/screens-lock
[Install]
WantedBy=default.target