swayidle: use “gtklock” as lock screen
This commit is contained in:
parent
23bb14473d
commit
8860a2b6f2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue