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 or uv uv tool 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). An example audio-connected.desktop file is included in the source distribution, and can be copied to the autostart directory.

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.202511292343.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

audio_connected-0.202511292343-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file audio_connected-0.202511292343.tar.gz.

File metadata

  • Download URL: audio_connected-0.202511292343.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for audio_connected-0.202511292343.tar.gz
Algorithm Hash digest
SHA256 8e9b288c6b6f21b156e2b11b3fd2935384de156ed466e2b216e1aa1dcdd54f20
MD5 384688b6ac22820e786971697c4e78cf
BLAKE2b-256 00956d95a3a61fa0e76da2f1bff40735220ec5322044f7cb67c9c5155b303b20

See more details on using hashes here.

Provenance

The following attestation bundles were made for audio_connected-0.202511292343.tar.gz:

Publisher: main.yaml on mortenlj/audio-connected

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file audio_connected-0.202511292343-py3-none-any.whl.

File metadata

File hashes

Hashes for audio_connected-0.202511292343-py3-none-any.whl
Algorithm Hash digest
SHA256 882b80a5a0193c47de70a2591a9c2669131059f279ba564e5874d59fbd88716c
MD5 ef6ec8173c8cef14332feef89ee23da4
BLAKE2b-256 de5fb3d1432267aa5b0c9fa2b9ca49469a5890ef0994da1019d6bf986518a77e

See more details on using hashes here.

Provenance

The following attestation bundles were made for audio_connected-0.202511292343-py3-none-any.whl:

Publisher: main.yaml on mortenlj/audio-connected

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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