Fix rofi prompts
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
rofi -show combi -combi-modi run,drun -display-combi "run > "
|
rofi -show combi -combi-modi run,drun -display-combi "run"
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ output=$(
|
|||||||
for option in "${options[@]}"; do
|
for option in "${options[@]}"; do
|
||||||
echo "($i) $option"
|
echo "($i) $option"
|
||||||
(( i++ ))
|
(( i++ ))
|
||||||
done | rofi -dmenu -p "action: " -no-custom)
|
done | rofi -dmenu -p "action" -no-custom)
|
||||||
|
|
||||||
[[ "$output" ]] && "$(dirname "$0")"/i3exit "${output#(*) }"
|
[[ "$output" ]] && "$(dirname "$0")"/i3exit "${output#(*) }"
|
||||||
|
|||||||
Reference in New Issue
Block a user