Fixed wrong volume when headphones connected
This commit is contained in:
parent
01c6872143
commit
6460a9be15
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ while getopts ":bvm:" options; do
|
||||||
title="Brightness: ${value}"
|
title="Brightness: ${value}"
|
||||||
;;
|
;;
|
||||||
v)
|
v)
|
||||||
value=$(pactl get-sink-volume 0 | cut -d '/' -f2 | grep -o '[0-9]*%')
|
value=$(pactl get-sink-volume @DEFAULT_SINK@ | cut -d '/' -f2 | grep -o '[0-9]*%')
|
||||||
# if [[ $status == "[on]" ]] ; then
|
# if [[ $status == "[on]" ]] ; then
|
||||||
# value=$(amixer get Master | grep -o "[0-9]*%" | head -n 1)
|
# value=$(amixer get Master | grep -o "[0-9]*%" | head -n 1)
|
||||||
# fi
|
# fi
|
||||||
|
|
Loading…
Reference in a new issue