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.202606120101.tar.gz (17.3 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.202606120101-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for audio_connected-0.202606120101.tar.gz
Algorithm Hash digest
SHA256 7b459603c15d1d2c8c9b734a70e44c18e56f379c2b687245027713c2a64f1a55
MD5 d7f47b7e54d3dfa6218cb6aaa0b9be80
BLAKE2b-256 05a3c935c9ca6345c114c9a9aede02ce1bbd7f4aa78cce61f88973669bf546e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for audio_connected-0.202606120101.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.202606120101-py3-none-any.whl.

File metadata

File hashes

Hashes for audio_connected-0.202606120101-py3-none-any.whl
Algorithm Hash digest
SHA256 efc452957b67cdcb634fe8a00113f8b9ab0e7be536dfb0344daa0ca1f8d51dec
MD5 85243eefd040f196f342d214677d206d
BLAKE2b-256 0eb6f484667b84c0e0e471da3323d7fbca27212908eea4508edbf6652c7352c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for audio_connected-0.202606120101-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