mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 09:35:40 +02:00
i3: lock session with loginctl
This way, we don't depend on X11. #onesteptowayland
This commit is contained in:
parent
a614930197
commit
11602af653
1 changed files with 2 additions and 2 deletions
4
config
4
config
|
@ -128,8 +128,8 @@ bindsym $mod+Shift+o move workspace to output next
|
||||||
bindsym $mod+Shift+n nop "move-to-new-workspace"
|
bindsym $mod+Shift+n nop "move-to-new-workspace"
|
||||||
|
|
||||||
# lock screen
|
# lock screen
|
||||||
bindsym XF86ScreenSaver exec --no-startup-id exec xset s activate
|
bindsym XF86ScreenSaver exec --no-startup-id exec loginctl lock-session
|
||||||
bindsym $mod+Delete exec --no-startup-id exec xset s activate
|
bindsym $mod+Delete exec --no-startup-id exec loginctl lock-session
|
||||||
# print screen
|
# print screen
|
||||||
bindsym Print exec --no-startup-id exec ~/.config/i3/bin/screenshot window
|
bindsym Print exec --no-startup-id exec ~/.config/i3/bin/screenshot window
|
||||||
bindsym XF86Display exec --no-startup-id exec ~/.config/i3/bin/screenshot window
|
bindsym XF86Display exec --no-startup-id exec ~/.config/i3/bin/screenshot window
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue