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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: audio_connected-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.3 Linux/6.2.0-37-generic

File hashes

Hashes for audio_connected-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bfc51df5c339f8c3abdd77ee62fdaa00639ac65a33e164c6ec9a34992c1103a0
MD5 b3d38668b5eaa9ec0991706786b7e1b4
BLAKE2b-256 d1c69c87d33b483eb6339f055647bc6273092b8983ddc4744bdd374456afe669

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for audio_connected-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc2f91c624881c057afb94cc8888ae88866f1759e97d8e228698e6c25ebbd82f
MD5 d07eaf6d838a7c22e25014ec2754cff1
BLAKE2b-256 487134f54197703e3dbe5c7a5b82f95958ed5240e81d0602119b519709a0e52e

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