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%
else
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
else
@ -45,7 +45,7 @@ RAISE() {
a=$a
else
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
}
@ -55,7 +55,7 @@ LOWER() {
if [ -e "${BINDIR}pactl" ]; then
if [ "$(pactl get-sink-volume @DEFAULT_SINK@ | awk '{ print $5;exit }' | sed 's/%//g')" != "0" ]; then
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
@ -64,7 +64,7 @@ LOWER() {
a=$a
else
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
}