fix shutdown script
This commit is contained in:
		
							parent
							
								
									2f345011a0
								
							
						
					
					
						commit
						7533926897
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -5,11 +5,11 @@ respond="$(echo " Shutdown\n Restart\n Cancel" | fuzzel --dmenu --lines=3 --widt
 | 
			
		|||
if [ $respond = ' Shutdown' ] 
 | 
			
		||||
then
 | 
			
		||||
    echo "shutdown"
 | 
			
		||||
	# shutdown now    
 | 
			
		||||
	shutdown now    
 | 
			
		||||
elif [ $respond = ' Restart' ] 
 | 
			
		||||
then
 | 
			
		||||
    echo "restart"
 | 
			
		||||
    # reboot
 | 
			
		||||
    reboot
 | 
			
		||||
else
 | 
			
		||||
    notify-send "cancel shutdown"
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue