mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 06:28:08 +01:00
Add functions to switch between audio profiles
This commit is contained in:
parent
c25811e614
commit
f5b5f67c89
3 changed files with 14 additions and 0 deletions
4
dot_config/fish/private_functions/audio-onboard.fish
Normal file
4
dot_config/fish/private_functions/audio-onboard.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function audio-onboard
|
||||
pacmd set-default-sink "alsa_output.pci-0000_00_1f.3.analog-stereo"
|
||||
pacmd set-default-source "alsa_input.pci-0000_00_1f.3.analog-stereo"
|
||||
end
|
5
dot_config/fish/private_functions/audio-plt-conf.fish
Normal file
5
dot_config/fish/private_functions/audio-plt-conf.fish
Normal file
|
@ -0,0 +1,5 @@
|
|||
function audio-plt-conf
|
||||
pacmd set-card-profile bluez_card.F4_B6_88_D4_1E_5D handsfree_head_unit
|
||||
pacmd set-default-source bluez_source.F4_B6_88_D4_1E_5D.handsfree_head_unit
|
||||
pacmd set-default-sink bluez_sink.F4_B6_88_D4_1E_5D.handsfree_head_unit
|
||||
end
|
5
dot_config/fish/private_functions/audio-plt-no-mic.fish
Normal file
5
dot_config/fish/private_functions/audio-plt-no-mic.fish
Normal file
|
@ -0,0 +1,5 @@
|
|||
function audio-plt-no-mic
|
||||
pacmd set-card-profile bluez_card.F4_B6_88_D4_1E_5D a2dp_sink
|
||||
pacmd set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo
|
||||
pacmd set-default-sink bluez_sink.F4_B6_88_D4_1E_5D.a2dp_sink
|
||||
end
|
Loading…
Reference in a new issue