aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-06-17 15:13:53 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-06-17 15:13:53 +0100
commit5b952d49766a8196cadaa92441eac43788082d10 (patch)
tree43980f223a05a0e52038d25b29e9a51c4cba542a
parent04dd56bbed7dc7018d9502f2bb44c9422440b596 (diff)
downloaddotnvim-5b952d49766a8196cadaa92441eac43788082d10.tar.gz
dotnvim-5b952d49766a8196cadaa92441eac43788082d10.zip
Added suspend
-rw-r--r--i3/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/i3/config b/i3/config
index 20173d8..b715c79 100644
--- a/i3/config
+++ b/i3/config
@@ -138,6 +138,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'"
+# suspend
+bindsym $mod+Shift+s exec "systemctl suspend"
# resize window (you can also use the mouse for that)
mode "resize" {