some new tweaks
This commit is contained in:
parent
f541e725d9
commit
01df064f68
9 changed files with 85 additions and 9 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue