volume osd
This commit is contained in:
parent
f0422975b8
commit
b365903a21
|
@ -4,7 +4,6 @@ function get_volume()
|
|||
v=$(amixer get Master | egrep -o '[0-9]{1,3}%')
|
||||
echo ${v%%\%*}
|
||||
}
|
||||
|
||||
killall osd_cat
|
||||
FONT="-adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*"
|
||||
osd_cat -b percentage -P $(get_volume) -A center -p middle -c '#009BF9' --font=$FONT --text "volume" --delay 1
|
||||
|
|
Loading…
Reference in New Issue