From b4180d998b7b54114f60aaf8af9c64caac36c154 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 18 Nov 2018 22:18:06 +0000 Subject: [PATCH] Wire up shutdown buttons --- files/i3.conf | 4 ---- files/polybar.ini | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/files/i3.conf b/files/i3.conf index ee07fd0..a824750 100644 --- a/files/i3.conf +++ b/files/i3.conf @@ -41,10 +41,6 @@ bindsym Control+Q exec --no-startup-id /bin/false bindsym Shift+Print exec --no-startup-id flameshot screen -c bindsym Print exec --no-startup-id flameshot gui -# 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 # Focus diff --git a/files/polybar.ini b/files/polybar.ini index ca60e1c..16b86c5 100644 --- a/files/polybar.ini +++ b/files/polybar.ini @@ -108,8 +108,10 @@ label-open =  label-close =  menu-0-0 = Shutdown menu-0-0-foreground = ${colors.alert} +menu-0-0-exec = shutdown -h now menu-0-1 = Restart menu-0-1-foreground = #0F0 +menu-0-1-exec = shutdown -r now label-separator = " | " expand-right = false