Blackstareye / toggleAudio-blackeyeprojects.de

Gnome Extension for toggling audio
6 stars 0 forks source link

ToggleAudio Extension

thumbnail

Settings

shows settings

set your headphone and speaker devices in preferences

then you can switch between those devices with a click of a button:

speaker headphone

(you can see the switch between the audio sources in the volume output device window above called Tonausgang here)

Note: the devices for headphone and speaker must be two separated devices, and not a shared one with different ports (like build in Speaker/Headphone devices).

In that case only one device can be seen in the preference selection window.

With the Show Indicator switch you can also control if you want to show a system icon tray or not. If true the icon is shown.

Hotkeys

You can also use hotkeys for:

You can enable those in the settings:

settings show hotkey area

[!NOTE] if you want to change the hotkeys, you need to do those in gsettings using gsettings

the path is: /org/gnome/shell/extensions/toggle-audio/

Follow the instructions on the wiki

Icon Style

You can control whether you want to use colorful or symbolic monochrome icons.

styling

PS: You can even customize the used icons if you want

Tested on

with 2 audio devices:

Next Version

Ideas:

Thanks and credit to

their code helped me to understand Gvc.MixerControl better.

Also thanks to #extensions:gnome.org (Matrix) and their people for helping me :)

Support

If you like my work and want to support me, then this is the way:

Many Thanks ♥