aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-10-29 14:45:39 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-10-29 14:45:39 +0000
commite15b767185363cd831d3ca650bc74ea9b266f5b6 (patch)
tree2b81aff24b5eeb29ef4648654b92ed643b08d10c /i3
parent955262af93c7ee6a2de0d7a3a4d13ef644922206 (diff)
downloaddotnvim-e15b767185363cd831d3ca650bc74ea9b266f5b6.tar.gz
dotnvim-e15b767185363cd831d3ca650bc74ea9b266f5b6.zip
Lock binding
Diffstat (limited to 'i3')
-rw-r--r--i3/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/i3/config b/i3/config
index 7886a17..a247e82 100644
--- a/i3/config
+++ b/i3/config
@@ -152,6 +152,8 @@ bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
+# lock i3
+bindsym $mod+Shift+x exec i3lock
# suspend
bindsym $mod+Shift+s exec "systemctl suspend"