aboutsummaryrefslogtreecommitdiff
path: root/volume
diff options
context:
space:
mode:
Diffstat (limited to 'volume')
-rwxr-xr-xvolume9
1 files changed, 6 insertions, 3 deletions
diff --git a/volume b/volume
index 6852577..8dcd36a 100755
--- a/volume
+++ b/volume
@@ -2,9 +2,12 @@
2 2
3# Change volume and notify 3# Change volume and notify
4# Usage: volume {+n|-n} 4# Usage: volume {+n|-n}
5# Requires: pulsemixer, notify-send 5# Requires: pulsemixer, notify-send or similar
6 6
7#TODO: use this to replace myvolumeup/myvolumedown 7#notify=notify-send
8notify=herbe
8 9
9newvol=$(pulsemixer --change-volume "$1" --get-volume | awk '{print $1}') 10newvol=$(pulsemixer --change-volume "$1" --get-volume | awk '{print $1}')
10notify-send "Volume" "$newvol%" 11
12pkill herbe # comment this line too if not using herbe
13$notify "Volume" "$newvol%"

Generated with cgit - Back to sebastiano.tronto.net