mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-09-13 22:12:04 +02:00
[systemd] revert mako and swayidle to start via sway
This commit is contained in:
parent
d14503cf00
commit
62be429c6d
4 changed files with 24 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue