Add lockscreen shortcut to i3

This commit is contained in:
Tanguy Herbron 2020-07-16 13:57:44 +02:00
parent 5b141ac6c0
commit 64ecdd68bf

View File

@ -312,7 +312,7 @@ bindsym $mod+Shift+p exec $i3-wm.program.shutdown
## Session // Lock Screen // <> Escape ## ## Session // Lock Screen // <> Escape ##
set_from_resource $i3-wm.program.lock i3-wm.program.lock dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock set_from_resource $i3-wm.program.lock i3-wm.program.lock dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock
bindsym $mod+Escape exec $i3-wm.program.lock bindsym $mod+Escape exec betterlockscreen -l
## Session // Sleep // <><Shift> s ## ## Session // Sleep // <><Shift> s ##
set_from_resource $i3-wm.program.sleep i3-wm.program.sleep systemctl suspend set_from_resource $i3-wm.program.sleep i3-wm.program.sleep systemctl suspend