aboutsummaryrefslogtreecommitdiff
path: root/volume
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-09 19:50:38 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2022-02-09 19:50:38 +0100
commit6f45972265b532365421658f1370742bb82b757b (patch)
treec293262456ba35ae5c1b778684527ed5c70c7ad1 /volume
parent547311be5f6d90f36022a6e5e6fdbfb26862fd75 (diff)
downloadscripts-6f45972265b532365421658f1370742bb82b757b.tar.gz
scripts-6f45972265b532365421658f1370742bb82b757b.zip
Changed default notification system to herbe
Diffstat (limited to '')
-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