1
0
Fork 0
dotfiles/home/dot_config/systemd/user/swayidle.service

16 lines
441 B
SYSTEMD
Raw Permalink Normal View History

2019-04-04 23:37:38 +00:00
[Unit]
Description=Idle manager for Wayland
Documentation=man:swayidle(1)
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/swayidle -w \
2023-10-02 03:34:08 +00:00
timeout 1200 'echo RELOADAGENT | gpg-connect-agent; swaylock -f' \
timeout 600 'swaymsg "output * dpms off"' \
2021-04-10 18:44:32 +00:00
resume 'swaymsg "output * dpms on"' \
2019-10-20 01:33:34 +00:00
before-sleep 'echo RELOADAGENT | gpg-connect-agent; swaylock -f'
2019-04-04 23:37:38 +00:00
[Install]
WantedBy=sway-session.target