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.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for audio_connected-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc2f91c624881c057afb94cc8888ae88866f1759e97d8e228698e6c25ebbd82f |
|
MD5 | d07eaf6d838a7c22e25014ec2754cff1 |
|
BLAKE2b-256 | 487134f54197703e3dbe5c7a5b82f95958ed5240e81d0602119b519709a0e52e |