From 84f4d7fb61e3f6e66c4ff026410136eec8e0e99c Mon Sep 17 00:00:00 2001 From: doug davis Date: Thu, 8 Dec 2022 19:26:24 -0500 Subject: [PATCH] add: default nagbar exit to i3 config --- i3-gaps-home/.config/i3/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/i3-gaps-home/.config/i3/config b/i3-gaps-home/.config/i3/config index c3cd7273..122cfe5c 100644 --- a/i3-gaps-home/.config/i3/config +++ b/i3-gaps-home/.config/i3/config @@ -127,6 +127,9 @@ bindsym $Mod+Shift+r restart # reload the configuration file bindsym $Mod+Shift+c reload +# exit i3 (logs you out of your X session) +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'" + ############ Container/Window control ############ # Scratchpad, Floating