feat: scanpdf, bash optimizations

This commit is contained in:
angeD 2022-05-16 14:44:31 +02:00
parent 0ea2a49df1
commit 484cc80fbd
3 changed files with 21 additions and 3 deletions

View file

@ -5,10 +5,10 @@ CUR="$(pactl get-sink-volume 0 | awk '$1 == "Volume:" {print substr($5, 1, lengt
SHIFT="${1}"
case "${1:0:1}" in
"")
'')
exit 1
;;
"+"|"-")
'+'|'-')
NEW="$((CUR - CUR % SHIFT + SHIFT))"
;;
*)