some new tweaks

This commit is contained in:
Never Gude 2026-01-28 00:57:01 +01:00
parent f541e725d9
commit 01df064f68
9 changed files with 85 additions and 9 deletions

View file

@ -42,9 +42,9 @@ function audio_source
end
end
set input (menu $names)
set input (math (menu --index $names) + 1)
wpctl set-default $ids[(contains -i $input $names)]
wpctl set-default $ids[$input]
end
function audio_sink
@ -61,9 +61,9 @@ function audio_sink
end
end
set input (menu $names)
set input (math (menu --index $names) + 1)
wpctl set-default $ids[(contains -i $input $names)]
wpctl set-default $ids[$input]
end
set options "󱂵 Open Location" "󰍬 Select Audio Source" "󰕾 Select Audio Sink"