blob: c46d4e5faac9c2226c2ee53144410d926043831d (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/bin/sh
/usr/bin/amixer "$@"
for arg in "$@"; do
if [ "${arg}" = "set" ] || [ "${arg}" = "sset" ] || [ "${arg}" = "cset" ]; then
exec bus broadcast "/tmp/example-bus" '0 volume-changed *'
fi
done
|