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

Uploaded Source

Built Distribution

audio_connected-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: audio_connected-0.1.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.3 Linux/6.8.0-39-generic

File hashes

Hashes for audio_connected-0.1.1.tar.gz
Algorithm Hash digest
SHA256 41108ff8d5540ec2cf1283fe500a0f844bfc13a19a8031a9ac6536e8d8a69e90
MD5 e8367dc682db74c78d72fa489c8ddd51
BLAKE2b-256 1ef6dc54f4bcd12e6fb3b9dc9be0cc97345bb33304416deea06690f9935f4354

See more details on using hashes here.

File details

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

File metadata

  • Download URL: audio_connected-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.3 Linux/6.8.0-39-generic

File hashes

Hashes for audio_connected-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31fb073e5d2cb50f58fa8d2e24872cde20887597a998b26ae95dcf9c46d095af
MD5 f545c991863ff705cabf8d1e4994243c
BLAKE2b-256 2bdd1de8ed672db355c3a1ba1875d4feca58b2a0f714a1f5adaad0e4441a4882

See more details on using hashes here.

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