You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

7 lines
148 B

#!/bin/bash
pactl -- set-sink-volume 0 -5%
VOL=$(awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master))
notify-send -t 1000 "Volume: ${VOL}"