mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
10 lines
210 B
Bash
10 lines
210 B
Bash
#!/bin/bash
|
|
|
|
# Update the volume module in the statusbar whenever
|
|
# headphones are added or removed.
|
|
|
|
while :; do
|
|
grep -qP -m1 '^jack\/headphone' <(acpi_listen)
|
|
pkill -RTMIN+10 "${STATUSBAR:-dwmblocks}"
|
|
done
|