1
0
Fork 0

Sway idle systemd service

This commit is contained in:
Gregory Eremin 2023-02-14 11:04:57 +01:00
parent 83bdf6a9f3
commit 90c9394369
1 changed files with 2 additions and 3 deletions

View File

@ -4,9 +4,8 @@ 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
timeout 10 /home/gregory/dotfiles/bin/screens-off \
resume /home/gregory/dotfiles/bin/screens-on
[Install]
WantedBy=default.target