1 2 3 4 5 6 7 8 9 10
#!/bin/sh # Change volume and notify # Usage: volume {+n|-n} # Requires: pulsemixer, notify-send #TODO: use this to replace myvolumeup/myvolumedown newvol=$(pulsemixer --change-volume "$1" --get-volume | awk '{print $1}') notify-send "Volume" "$newvol%"
Generated with cgit - Back to sebastiano.tronto.net