.dotfiles/sway/systemd/swayidle.service

14 lines
301 B
SYSTEMD

[Unit]
Description=Swayidle to trigger idle actions
Documentation=man:swayidle(1)
PartOf=graphical-session.target
After=sway.service
[Service]
Type=simple
ExecStart=/var/home/jpm/scripts/sway/idle.sh start
ExecStop=/var/home/jpm/scripts/sway/idle.sh stop
[Install]
WantedBy=graphical-session.target