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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for audio_connected-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31fb073e5d2cb50f58fa8d2e24872cde20887597a998b26ae95dcf9c46d095af |
|
MD5 | f545c991863ff705cabf8d1e4994243c |
|
BLAKE2b-256 | 2bdd1de8ed672db355c3a1ba1875d4feca58b2a0f714a1f5adaad0e4441a4882 |