feat(fuzze): goodbye rofi;
This commit is contained in:
parent
996d81afb4
commit
f1015c40c4
8 changed files with 18 additions and 30 deletions
|
|
@ -80,7 +80,7 @@ audio)
|
|||
if [ "$XDG_SESSION_TYPE" = x11 ]; then
|
||||
choice="$(printf "%s\n" "$sinks" | awk -F'\t' '{print $1": "$2}' | dmenu -i -p "select sink:" | cut -d: -f1)"
|
||||
else
|
||||
choice="$(printf "%s\n" "$sinks" | awk -F'\t' '{print $1": "$2}' | rofi -dmenu -i -p "select sink" | cut -d: -f1)"
|
||||
choice="$(printf "%s\n" "$sinks" | awk -F'\t' '{print $1": "$2}' | fuzzel --dmenu --prompt="sink: " | cut -d: -f1)"
|
||||
fi
|
||||
[ "$choice" ] && wpctl set-default "$choice"
|
||||
;;
|
||||
|
|
@ -90,7 +90,7 @@ audio)
|
|||
if [ "$XDG_SESSION_TYPE" = x11 ]; then
|
||||
choice="$(printf "%s\n" "$sources" | awk -F'\t' '{print $1": "$2}' | dmenu -i -p "select source:" | cut -d: -f1)"
|
||||
else
|
||||
choice="$(printf "%s\n" "$sources" | awk -F'\t' '{print $1": "$2}' | rofi -dmenu -i -p "select source" | cut -d: -f1)"
|
||||
choice="$(printf "%s\n" "$sources" | awk -F'\t' '{print $1": "$2}' | fuzzel --dmenu --prompt="source: " | cut -d: -f1)"
|
||||
fi
|
||||
[ "$choice" ] && wpctl set-default "$choice"
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue