Metadata-Version: 2.1
Name: audio-connected
Version: 0.2.0
Summary: Watches PulseAudio events for new sinks connected, and if the name matches the configured name, make that sink the default sink.
Home-page: https://github.com/mortenlj/audio-connected
License: MIT
Author: Morten Lied Johansen
Author-email: mortenjo@ifi.uio.no
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: pulsectl (>=24.0.0,<25.0.0)
Project-URL: Bug Tracker, https://github.com/mortenlj/audio-connected/issues
Project-URL: Repository, https://github.com/mortenlj/audio-connected
Description-Content-Type: text/x-rst

===============
Audio Connected
===============

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:

.. code:: ini

    [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


.. _pipx: https://pypa.github.io/pipx/
.. _uv: https://docs.astral.sh/uv/

