yktoo / indicator-sound-switcher

Sound input/output selector indicator for Linux
https://yktoo.com/en/software/sound-switcher-indicator/
GNU General Public License v3.0
365 stars 28 forks source link

[Request] single global shortcut for toggling between the output/input devices? #106

Closed shakakibara12 closed 3 years ago

shakakibara12 commented 3 years ago

Can we add a single global shortcut for toggling between the output/input devices? Thanks sorry wrong label! :cry:

yktoo commented 3 years ago

What do you mean exactly by "toggling between the output/input devices"?

shakakibara12 commented 3 years ago

What do you mean exactly by "toggling between the output/input devices"?

Alright imma explain... So i have 2 output devices, headphone and speaker. I have set a keyboard shortcut for my speaker, when i press it then the audio comes from the speaker, now to switch back my output to my headphone i have to press a different keybinding or use my mouse. What i want is to have a single keyboard shortcut, so when i press it, it switches playback to speaker and if i press it again then the playback changes to headphone. I tried giving same keybinding to both the output devices but it won't work meaning only one keybinding can be given to one device/port. Thank you for replying