add spacing

This commit is contained in:
speedie 2022-11-12 15:41:48 +01:00
parent d59c4f01c8
commit 8a8d5ff177

View file

@ -37,7 +37,7 @@ RAISE() {
pactl set-sink-volume @DEFAULT_SINK@ 100% pactl set-sink-volume @DEFAULT_SINK@ 100%
else else
pactl set-sink-volume @DEFAULT_SINK@ +10% pactl set-sink-volume @DEFAULT_SINK@ +10%
test ${BINDIR}notify-send && notify-send " $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{ print $5;exit }')" test ${BINDIR}notify-send && notify-send " $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{ print $5;exit }')"
fi fi
fi fi
else else
@ -45,7 +45,7 @@ RAISE() {
a=$a a=$a
else else
amixer -c 0 set Master 7%+ amixer -c 0 set Master 7%+
ls ${BINDIR}notify-send && notify-send " $(amixer -c 0 get Master | tail -n 1 | sed -r "s/.*\[(.*)%\].*/\1/")%" ls ${BINDIR}notify-send && notify-send " $(amixer -c 0 get Master | tail -n 1 | sed -r "s/.*\[(.*)%\].*/\1/")%"
fi fi
fi fi
} }
@ -55,7 +55,7 @@ LOWER() {
if [ -e "${BINDIR}pactl" ]; then if [ -e "${BINDIR}pactl" ]; then
if [ "$(pactl get-sink-volume @DEFAULT_SINK@ | awk '{ print $5;exit }' | sed 's/%//g')" != "0" ]; then if [ "$(pactl get-sink-volume @DEFAULT_SINK@ | awk '{ print $5;exit }' | sed 's/%//g')" != "0" ]; then
pactl set-sink-volume @DEFAULT_SINK@ -10% pactl set-sink-volume @DEFAULT_SINK@ -10%
test ${BINDIR}notify-send && notify-send " $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{ print $5;exit }')" test ${BINDIR}notify-send && notify-send " $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{ print $5;exit }')"
fi fi
fi fi
@ -64,7 +64,7 @@ LOWER() {
a=$a a=$a
else else
amixer -c 0 set Master 7%- amixer -c 0 set Master 7%-
test ${BINDIR}notify-send && notify-send " $(amixer -c 0 get Master | tail -n 1 | sed -r "s/.*\[(.*)%\].*/\1/")%" test ${BINDIR}notify-send && notify-send " $(amixer -c 0 get Master | tail -n 1 | sed -r "s/.*\[(.*)%\].*/\1/")%"
fi fi
fi fi
} }