From 704f6b3b216742e31989d797c27bd69647313759 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 28 Dec 2016 23:58:07 -0800 Subject: [PATCH] [Linux] Add set volume script --- dotfiles/lib/bin/set_volume.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 dotfiles/lib/bin/set_volume.sh diff --git a/dotfiles/lib/bin/set_volume.sh b/dotfiles/lib/bin/set_volume.sh new file mode 100755 index 00000000..508be3e3 --- /dev/null +++ b/dotfiles/lib/bin/set_volume.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env zsh + +pulseaudio-ctl "$@" + +notify-send " " -i notification-audio-volume-high -h int:value:$(SINK=1 pavolume) -h string:synchronous:volume