commit 2cb49c50fe45bfdfc5d469bfe09d4c5526673000
parent 9855cdc21c65e6ce82387cac6a1edb35c2942539
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 31 Oct 2014 11:54:00 -0700
Add support for suspend in i3 config.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.i3/config b/.i3/config
@@ -33,6 +33,7 @@ bindsym $mod+Shift+q kill
# Lock, suspend
set $lock_screen gnome-screensaver-command --lock
bindsym Mod1+Mod4+l exec $lock_screen
+bindsym Mod1+Mod4+s exec dbus-send --system --dest=org.freedesktop.UPower --type=method_call
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run