Better exit prompt
This commit is contained in:
		
							parent
							
								
									53b1c5e17b
								
							
						
					
					
						commit
						3672b077b8
					
				@ -61,8 +61,8 @@ bindsym $mod+F4 kill
 | 
			
		||||
bindsym --release button2 kill
 | 
			
		||||
 | 
			
		||||
# start dmenu (a program launcher)
 | 
			
		||||
# bindsym $mod+d exec dmenu_run
 | 
			
		||||
bindsym $mod+d exec rofi -show run
 | 
			
		||||
bindsym $mod+d exec dmenu_run
 | 
			
		||||
# bindsym $mod+d exec rofi -show run
 | 
			
		||||
# There also is the (new) i3-dmenu-desktop which only displays applications
 | 
			
		||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
 | 
			
		||||
# installed.
 | 
			
		||||
@ -163,7 +163,8 @@ bindsym $mod+Shift+c reload
 | 
			
		||||
bindsym $mod+Shift+r restart
 | 
			
		||||
 | 
			
		||||
# 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'"
 | 
			
		||||
# 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'"
 | 
			
		||||
bindsym $mod+Shift+e exec [ "Yes." = $(printf "No.\nYes." | dmenu -p "You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.") ] && i3-msg exit
 | 
			
		||||
 | 
			
		||||
# resize window (you can also use the mouse for that)
 | 
			
		||||
mode "resize" {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user