scripts/volumeup.sh
Ferit Yiğit BALABAN 0c87bcfbcc Initial commit
2022-01-05 21:10:37 +03:00

4 lines
146 B
Bash

#!/bin/bash
current=$(pacmd dump-volumes | awk 'NR==1{print $8}' | sed 's/\%//')
[ $current -lt 200 ] && pactl set-sink-volume @DEFAULT_SINK@ +5%