1 #!/bin/bash 2 3 AMOUNT_TO_INCREASE=$1 4 5 CURRENT_VOLUME=$(pamixer --get-volume) 6 MAX_VOLUME=$((100 - $AMOUNT_TO_INCREASE)) 7 8 (($CURRENT_VOLUME<=$MAX_VOLUME)) && $(pactl set-sink-volume @DEFAULT_SINK@ +$AMOUNT_TO_INCREASE%)
![]() | repos/scriptsSimple scripts that I made for my personal computer to map keys, make bluetooth work, brightness keys, etc. |