aboutsummaryrefslogtreecommitdiff
path: root/volume
blob: 68525770ec5b72fb1b3e2d27eb750ee46fe56f87 (plain)
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