style: rofi styles unified

This commit is contained in:
2026-04-14 15:12:20 +02:00
parent b8cc76158b
commit 82829db5e3
17 changed files with 101 additions and 1282 deletions

View File

@@ -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