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.
This commit is contained in:
parent
5eb5e7f2aa
commit
f5c4e837df
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user