From 17d09d8637477dbece64d4f93b9880a894bc108a Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 21 Sep 2021 15:34:14 +0200 Subject: i3: add binding for suspending MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- .i3/config | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3