Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

audio_connected-0.1.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

audio_connected-0.1.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page