1
0
Fork 0

Switch to bspwm

This commit is contained in:
Jeremy Kaplan 2016-02-21 15:15:44 -05:00
commit d77432d398
10 changed files with 297 additions and 0 deletions

16
panel/volume Executable file
View file

@ -0,0 +1,16 @@
#/bin/sh
prefix=$1
suffix=$2
while [ true ]; do
echo -n "$prefix"
volume=$(
pulseaudio-ctl | grep 'Volume level' | cut -d: -f2 | tr -d ' ' \
| sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"
)
echo -n $volume
echo -n "$suffix"
echo
sleep 1
done