i3: Retire dmenu in favor of rofi

This commit is contained in:
2020-12-10 16:02:57 +01:00
parent e0439c8f54
commit 3a257f6884
2 changed files with 2 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
#!/usr/bin/env bash #!/usr/bin/env bash
dmenu_run -fn 'Inconsolata:size=10' -b -i -l 10 -p '>' -nb '#222222' -nf '#ffffff' -sb '#e16b40' -sf '#000001' rofi -show combi -combi-modi run,drun -display-combi run

View File

@@ -14,6 +14,6 @@ output=$(
for option in "${options[@]}"; do for option in "${options[@]}"; do
echo "($i) $option" echo "($i) $option"
(( i++ )) (( i++ ))
done | dmenu -fn 'Inconsolata:size=10' -b -i -l 10 -p '>' -nb '#222222' -nf '#ffffff' -sb '#e16b40' -sf '#000000') done | rofi -dmenu -p "action" -u "2,4" -no-custom)
[[ "$output" ]] && "$(dirname "$0")"/i3exit "${output#(*) }" [[ "$output" ]] && "$(dirname "$0")"/i3exit "${output#(*) }"