13 lines
355 B
SYSTEMD
13 lines
355 B
SYSTEMD
|
[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
|