1
0
Fork 0
mirror of https://github.com/swaywm/sway.git synced 2025-04-06 21:46:20 +00:00

Updated Systemd integration (markdown)

Дамјан Георгиевски 2019-01-27 01:16:24 +01:00
parent d2030e0aa4
commit 09f16a6da4

@ -56,11 +56,11 @@ PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=/usr/bin/swayidle \
timeout 300 'swaylock -c 000000' \
ExecStart=/usr/bin/swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -c 000000'
before-sleep 'swaylock -f -c 000000'
[Install]
WantedBy=sway-session.target