style: rofi styles unified
This commit is contained in:
@@ -22,10 +22,10 @@ getFormalNameFromSink() {
|
||||
echo "USB audio"
|
||||
;;
|
||||
*HDMI*)
|
||||
echo "External screen audio"
|
||||
echo "Screen audio"
|
||||
;;
|
||||
*pci*)
|
||||
echo "Core jack"
|
||||
echo "Core audio"
|
||||
;;
|
||||
*Logitech*)
|
||||
echo "Logitech headset"
|
||||
@@ -50,7 +50,7 @@ for sink in "${sink_list[@]}"; do
|
||||
menu_options="$menu_options$formal_name"
|
||||
done
|
||||
|
||||
chosen_option="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p 'Audio outputs' -location 2 -yoffset 52 -lines ${#sink_list[@]} -no-fixed-num-lines -theme ~/.config/rofi/theme.rasi <<< "$menu_options")"
|
||||
chosen_option="$(rofi -no-config -no-lazy-grab -sep "|" -dmenu -i -p ' Audio outputs' -lines ${#sink_list[@]} -no-fixed-num-lines -theme ~/.config/rofi/theme.rasi <<< "$menu_options")"
|
||||
|
||||
[[ "$chosen_option" == "" ]] && exit 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user