Disable sleep locking from i3

This commit is contained in:
Pavle Portic 2021-11-11 14:23:16 +01:00
parent d14aaa7c72
commit 6c4d979258
Signed by: TheEdgeOfRage
GPG Key ID: F2AB38285780DE3D
1 changed files with 3 additions and 5 deletions

View File

@ -130,11 +130,9 @@ bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
# Screen locking
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -e -i ~/pictures/wallpapers/blue_screen.png -t --nofork
# bindsym $mod+Control+l exec "i3lock -e -i ~/pictures/wallpapers/blue_screen.png -t"
bindsym $mod+Control+l exec loginctl lock-session
# exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -e -i ~/pictures/wallpapers/blue_screen.png -t --nofork
# bindsym $mod+Control+l exec loginctl lock-session
bindsym $mod+Control+l exec "i3lock -e -i ~/pictures/wallpapers/blue_screen.png -t"
mode "resize" {
bindsym h resize shrink width 10 px or 10 ppt