Metadata-Version: 2.1
Name: afreeze
Version: 0.1.1
Summary: Freeze alsa configuration settings.
Home-page: https://github.com/Alexhuszagh/afreeze
Author: Alex Huszagh
Author-email: ahuszagh@gmail.com
License: Unlicense
Keywords: alsa linux sound
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Multimedia :: Sound/Audio
Requires-Python: >3.7.0
Description-Content-Type: text/markdown
Provides-Extra: daemon
Requires-Dist: python-daemon (>=2.2.0) ; extra == 'daemon'

afreeze
=======

Freeze ALSA configuration settings.

# Getting Started

afreeze may be installed via PyPi via:

```bash
pip install afreeze[daemon] --user
```

Or afreeze may be installed via git:

```bash
git clone https://github.com/Alexhuszagh/afreeze
cd afreeze
python setup.py install --user
```

Once installed, you can freeze various alsa configuration settings via various commands. For example, to force the audio to stay at 75%, you may use:

```bash
afreeze --command "'Master' 75%"
```

To list all controls available and current content settings, use:

```bash
afreeze --list-controls
afreeze --list-contents
```

afreeze supports custom devices and sound cards. To specify a custom device, use:

```bash
afreeze --device default ...
```

To specify a custom sound card, use:

```bash
afreeze --card 0 ...
```

To enable auto-mute mode (muting speakers when headphones are plugged in), use:

```bash
afreeze --card 0 "'Auto-Mute Mode' Enabled"
```

# Daemon

This script may also be run as a daemon, requiring `python-daemon`. To launch afreeze as a daemon, use:

```bash
afreeze --daemon ...
```

# License

This is free and unencumbered software released into the public domain. 

# Contributing

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in afreeze by you, will be unlicensed (free and unencumbered software released into the public domain).


