From 2979d4e5759b3f08a35a27f735ebb4ae064b2d80 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Sat, 15 Jul 2017 16:27:56 -0700 Subject: [PATCH] i3: prompt before exiting --- i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/config b/i3/config index 0dddbf6..687c4b2 100644 --- a/i3/config +++ b/i3/config @@ -152,7 +152,7 @@ bindsym $m+Shift+z reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $m+Shift+x restart # exit i3 (logs you out of your X session) -bindsym $m+Shift+c exit +bindsym $m+Shift+c 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'" # resize window (you can also use the mouse for that) mode "resize" { -- 2.51.2