16 lines
367 B
Desktop File
16 lines
367 B
Desktop File
[Unit]
|
|
Description=Idle manager for Wayland
|
|
Documentation=man:swayidle(1)
|
|
PartOf=graphical-session.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/swayidle -w \
|
|
timeout 1200 'swaymsg "output * dpms off"' \
|
|
resume 'swaymsg "output * dpms on"' \
|
|
timeout 1210 'lock' \
|
|
before-sleep 'lock'
|
|
|
|
[Install]
|
|
WantedBy=sway-session.target
|