From f0c3ab8753a5ef765e3125b855ceb5fb157602d5 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Wed, 24 Jun 2020 08:00:20 -0700 Subject: [PATCH] Add i3 sleep keybind. --- dotfiles/config/i3/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles/config/i3/config b/dotfiles/config/i3/config index 3e0810d..fa43231 100644 --- a/dotfiles/config/i3/config +++ b/dotfiles/config/i3/config @@ -135,6 +135,8 @@ bindsym $mod+l exec \ bash -c "i3lock -c 000000 && (sleep 2 && xset dpms force off) &" bindsym $alt+Control+l exec \ bash -c "i3lock -c 000000 && (sleep 2 && xset dpms force off) &" +# suspend under systemd +bindsym $mod+Control+s exec --no-startup-id systemctl suspend # things to start quickly bindsym $mod+g exec /usr/bin/google-chrome-beta --password-store=gnome