bemenu -> wmenu
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| out="$(printf '' | bemenu --prompt ':sway')" | ||||
| out="$(printf '' | ~/.local/bin/menu/horizontal.sh -p ':sway')" | ||||
| eval "executor_args=($out)" | ||||
| #shellcheck disable=SC2154 | ||||
| sway "${executor_args[@]}" | ||||
|   | ||||
| @@ -41,7 +41,7 @@ formatted_list=$(echo "$window_list" | while IFS='|' read -r id app_id name work | ||||
|     printf "%s%s%s %s %s\n" "$workspace" "$indicator" "$id" "$app_id" "$name" | ||||
| done) | ||||
|  | ||||
| selection=$(echo "$formatted_list" | bemenu --auto-select --width-factor 100 --prompt "/" --index "$(echo "$formatted_list" | awk 'substr($0,2,1)==">" {print NR-1}')" ) | ||||
| selection=$(echo "$formatted_list" | ~/.local/bin/menu/vertical.sh -p "/") | ||||
| [ -z "$selection" ] && exit 0 | ||||
|  | ||||
| window_id=$(echo "$selection" | sed -E 's/^...([0-9]+).*/\1/') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user