aboutsummaryrefslogtreecommitdiff
path: root/.i3/config
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2021-09-21 15:34:14 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2021-09-21 15:34:14 +0200
commit17d09d8637477dbece64d4f93b9880a894bc108a (patch)
tree045677639bb00c3ee030b54b859975c346442b28 /.i3/config
parent5efe7d437e6e4156eb519017943e5e857e7caf99 (diff)
downloaddotfiles-17d09d8637477dbece64d4f93b9880a894bc108a.tar.gz
dotfiles-17d09d8637477dbece64d4f93b9880a894bc108a.zip
i3: add binding for suspending
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.i3/config')
-rw-r--r--.i3/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/.i3/config b/.i3/config
index a8ca256..7a55a26 100644
--- a/.i3/config
+++ b/.i3/config
@@ -110,6 +110,9 @@ 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" {
# These bindings trigger as soon as you enter the resize mode