From 77e394dc2a7a316b8fca4febbd30114771edc88b Mon Sep 17 00:00:00 2001 From: JiriKalvoda <jirik.kalvoda@seznam.cz> Date: Wed, 1 Jan 2020 20:17:58 +0100 Subject: [PATCH] I3 Add suspend. --- i3/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/i3/config b/i3/config index 3ec280f..6f50b8b 100644 --- a/i3/config +++ b/i3/config @@ -146,6 +146,8 @@ bindsym $mod+Shift+r restart 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'" bindsym $mod+Shift+s exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to shutdown i3?' -b 'Yes, exit i3' 'shutdown 0'" bindsym $mod+Ctrl+r exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to reboot i3?' -b 'Yes, exit i3' 'reboot'" +bindsym $mod+Ctrl+s exec systemctl suspend + # resize window (you can also use the mouse for that) mode "resize" { @@ -261,6 +263,8 @@ mode "System modifikator" } +bindsym Print exec gnome-screenshot -w +bindsym Shift+Print exec gnome-screenshot bindsym Control+Print exec gnome-screenshot -i exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & -- GitLab