fix(sway): make swaylock daemonize before suspend

This commit is contained in:
Bruno Carlin 2025-02-11 15:23:05 +01:00
parent c0a03f803b
commit 9c41e72e6b
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 8E254EA0FFEB9B6D

View file

@ -286,7 +286,7 @@ bindsym XF86MonBrightnessUp exec ddcutil setvcp 10 + 5
#bindsym --release Shift+Print exec --no-startup-id scrot -s -e 'mv $f ~/Images/screenshots/'
## Locker and reboot
set $Locker swaylock -i /home/bca/Images/waarp_wallpaper_x3.png && sleep 1
set $Locker swaylock --daemonize --show-failed-attempts -i /home/bca/Images/waarp_wallpaper_x3.png && sleep 1
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (S) shutdown
mode "$mode_system" {