mirror of
https://github.com/swaywm/sway.git
synced 2025-04-06 21:46:20 +00:00
Updated Systemd integration (markdown)
parent
d2030e0aa4
commit
09f16a6da4
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue