scripts/inc_vol.sh

6 lines
156 B
Bash
Executable File

#!/bin/bash
pulsemixer --change-volume +5
vol="$(amixer -D pulse get Master | awk -F'[][]' 'END{ print $2 }')"
notify-send --expire-time=500 "Volume $vol"