1
0
Fork 0

swayidle: use “gtklock” as lock screen

This commit is contained in:
Olli 2026-02-22 12:05:25 +01:00
commit 8860a2b6f2

View file

@ -8,8 +8,8 @@ Type=simple
ExecStart=/usr/bin/swayidle -w \
timeout 6000 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
lock 'swaylock -f -s center -i "~/.config/sway/lockscreen.png"' \
before-sleep 'swaylock -f -s center -i "~/.config/sway/lockscreen.png"'
lock 'gtklock -d --idle-hide --idle-timeout 5 --start-hidden' \
before-sleep 'gtklock -d --idle-hide --idle-timeout 5 --start-hidden'
[Install]
WantedBy=sway-session.target