Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidramiro/pa-mute-to-awtrix
🎤 Mute PulseAudio source and send status to awtrix
https://github.com/davidramiro/pa-mute-to-awtrix
awtrix awtrix-light pulseaudio
Last synced: 28 days ago
JSON representation
🎤 Mute PulseAudio source and send status to awtrix
- Host: GitHub
- URL: https://github.com/davidramiro/pa-mute-to-awtrix
- Owner: davidramiro
- Created: 2024-03-09T01:04:51.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-03-09T01:10:02.000Z (10 months ago)
- Last Synced: 2024-12-01T03:47:40.198Z (about 1 month ago)
- Topics: awtrix, awtrix-light, pulseaudio
- Language: Go
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pa-mute-to-awtrix
This script mutes/unmutes a PulseAudio source and indicates source status via a few pixels on an [awtrix](https://github.com/Blueforcer/awtrix-light) pixel clock.
## Usage
```shell
# Toggle mute on default PA source, send status to awtrix at 10.0.0.2./pa-mute-to-awtrix -host=10.0.0.2
# Don't toggle, only send mute status to awtrix
./pa-mute-to-awtrix -host=10.0.0.2 -onlyCheck
# Use blue indicator
./pa-mute-to-awtrix -host=10.0.0.2 -color=#0000FF
# Use specific PA source
./pa-mute-to-awtrix -host=10.0.0.2 -source=alsa_input.pci-0000_0e_00.4.analog-stereo
```## ...why?
Very niche, but since switching to Wayland, my global PTT hotkeys would not work with certain applications. Muting/unmuting the driver via global hotkeys is the next best thing, but I was missing a prominent indicator.