add freebsd volume control
This commit is contained in:
10
bin/st-vol
10
bin/st-vol
@ -7,3 +7,13 @@ case $VOLUME in
|
||||
VOLUME=$(echo $VOLUME | awk '{print $2}' | sed 's/^0//;s/\.//')
|
||||
echo " $VOLUME";;
|
||||
esac
|
||||
|
||||
# freebsd
|
||||
#VOLUME=$(mixer | grep vol)
|
||||
#case $VOLUME in
|
||||
# *muted*)
|
||||
# echo " MUTED";;
|
||||
# *)
|
||||
# VOLUME=$(echo $VOLUME | awk '{print $3}' | sed 's/:.*//;s/^0//;s/\.//')
|
||||
# echo " $VOLUME";;
|
||||
#esac
|
||||
|
||||
Reference in New Issue
Block a user