bemenu -> wmenu
This commit is contained in:
		
							
								
								
									
										12
									
								
								arch-user/bin/menu/run-man.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								arch-user/bin/menu/run-man.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| shift | ||||
| page="$1" | ||||
| if [ -z "$page" ]; then | ||||
| 	page="$( | ||||
| 		man -k . | \ | ||||
| 		(bemenu --prompt "man" || exec ~/.local/bin/bemenu/run.sh) | \ | ||||
| 		sed ' s/\s\+\-.*//;s/ //g'  | ||||
| 	)"  | ||||
| fi | ||||
| exec alacritty msg create-window --class="term_float" --working-directory="$HOME" --command "man '$page' || read -n1" | ||||
		Reference in New Issue
	
	Block a user