Metadata-Version: 2.1
Name: audio-connected
Version: 0.1.1
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
Requires-Dist: pulsectl (>=23.5.2,<24.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`

To make it run on startup, you can add a XDG Autostart entry in `$XDG_CONFIG_HOME/autostart` (`~/.config/autostart` by default).

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/

