Skip to content

Watches PulseAudio events for new sinks connected, and if the name matches the configured name, make that sink the default sink.

License

Notifications You must be signed in to change notification settings

mortenlj/audio-connected

Repository files navigation

Audio Connected

Watches PulseAudio events for new sinks connected, and if the name matches the configured name, make that sink the default sink.

Installation

Probably works best when installed with pipx: pipx install audio-connected

To make it run on startup, you can add a XDG Autostart entry in $XDG_CONFIG_HOME/autostart (~/.config/autostart by default).

Example:

[Desktop Entry]
Version=1.5
Type=Application
Name=Audio Connected
Comment=Set EPOS ADAPT 660 headset as default sink when connected
Exec=audio-connected "EPOS ADAPT 660"
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false

About

Watches PulseAudio events for new sinks connected, and if the name matches the configured name, make that sink the default sink.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages