bemenu -> wmenu
This commit is contained in:
		
							
								
								
									
										10
									
								
								arch-user/bin/menu/run-power.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								arch-user/bin/menu/run-power.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| sure() { | ||||
| 	echo yes | bemenu --prompt "sure?" || exec ~/.local/bin/bemenu/run.sh | ||||
| } | ||||
|  | ||||
| case "$1" in | ||||
| 	poweroff|reboot|suspend) sure && systemctl "$@";; | ||||
| 	logout) sure && swaymsg exit;; | ||||
| esac | ||||
		Reference in New Issue
	
	Block a user