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