[systemd] revert mako and swayidle to start via sway

This commit is contained in:
Felix Buehler 2020-02-25 21:54:42 +01:00
parent d14503cf00
commit 62be429c6d
4 changed files with 24 additions and 15 deletions

View file

@ -1,7 +1,9 @@
[Unit]
Description=Idle manager for Wayland
Documentation=man:swayidle(1)
PartOf=graphical-session.target
[Install]
WantedBy=graphical-session.target
[Service]
Type=simple
@ -11,6 +13,5 @@ ExecStart=/usr/bin/swayidle -w \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep '~/.dotfiles/sway/lock.sh'
[Install]
WantedBy=sway-session.target
RestartSec=5
Restart=always