From f5c4e837df336852f55cc9596c5ca19f593b2b00 Mon Sep 17 00:00:00 2001 From: Jens Sauer Date: Wed, 2 Dec 2020 18:19:49 +0100 Subject: [PATCH] i3: Replace i3lock with light-locker Replace i3lock with light-locker to enable multi-user setup. i3lock does not let switch user. light-locker locks with lightdm. --- i3/.config/i3/config | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 826002d..df4e5a8 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -209,8 +209,9 @@ bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # Lock and power settings -bindsym $mod+u exec --no-startup-id lock.sh -bindsym $mod+i exec --no-startup-id lock.sh && sleep 2 && systemctl suspend +exec --no-startup-id light-locker --lock-on-suspend +bindsym $mod+u exec --no-startup-id light-locker-command -l +bindsym $mod+i exec --no-startup-id systemctl suspend bindsym $mod+p exec --no-startup-id systemctl poweroff bindsym $mod+z exec --no-startup-id systemctl reboot @@ -219,7 +220,7 @@ bindsym XF86MonBrightnessDown exec --no-startup-id brightness decrease 50 bindsym XF86MonBrightnessUp exec --no-startup-id brightness increase 50 # Lock screen on inactivity -exec --no-startup-id xautolock -locker lock.sh -time 5 -detectsleep +exec --no-startup-id xautolock -locker 'light-locker-command -l' -time 5 -detectsleep # Wallpaper exec_always --no-startup-id nitrogen --restore