From d0faeb26007ed9b0dc12f2f633d750e9d7afad52 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 19 Oct 2017 21:37:56 +0100 Subject: [PATCH] Add shutdown buttons --- modules/i3/files/i3.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/i3/files/i3.conf b/modules/i3/files/i3.conf index 1d45c44..81fb15b 100644 --- a/modules/i3/files/i3.conf +++ b/modules/i3/files/i3.conf @@ -9,7 +9,6 @@ smart_gaps on for_window [class="^.*"] gaps inner all set 0 # i3 shortcuts -bindsym $mod+Shift+c reload 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'" @@ -36,6 +35,9 @@ bindsym Print exec --no-startup-id gnome-screenshot -c bindsym $mod+Print exec --no-startup-id sc bindsym $mod+Shift+Print exec --no-startup-id sc -a +# System +bindsym $mod+Shift+Delete exec "i3-nagbar -t error -m 'Shutdown or Restart?' -b 'Restart' 'shutdown -r now' -b 'Shutdown' 'shutdown -h now'" + bindsym $mod+Shift+q kill