Whenever I go to exit i3 a bar shows up on the top giving me the ability to to click Yes, to exit, or X to cancel.


What you want to do is edit your i3 conf, to find out where that is out you can use i3-config-wizard,

$ i3-config-wizard
The config file "/home/$USER/.config/i3/config" already exists. Exiting.

The line that sets up the exit command is in that file, and it was created by default

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'"

You'll see the i3-nagbar. That's the bar at the top responsible for nagging you. Just change that to go straight to the exit branch,

bindsym $mod+Shift+e exit

And finally run i3-msg reload to reload the configuration file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.