summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-04 12:32:58 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-04 12:32:58 -0500
commit040f0ffae51701c1f8c6190afd9be023f5ea2a4b (patch)
tree2a7935ae4f247c600c88cbbbb4c49fd4949ff808 /bin
parent68c2d3401566ecc96b4367b7fdba0a44d79565d9 (diff)
downloadconf-040f0ffae51701c1f8c6190afd9be023f5ea2a4b.tar.gz
conf-040f0ffae51701c1f8c6190afd9be023f5ea2a4b.zip
switch to perspektiv instead of volnoti
it supports brightness notifications, and is still being developed
Diffstat (limited to 'bin')
-rwxr-xr-xbin/hush/volume9
1 files changed, 0 insertions, 9 deletions
diff --git a/bin/hush/volume b/bin/hush/volume
index bc37b45..e4c81fb 100755
--- a/bin/hush/volume
+++ b/bin/hush/volume
@@ -13,12 +13,3 @@ case $1 in
pactl set-sink-mute 0 toggle
;;
esac
-
-INFO=$(pacmd dump | grep analog-stereo)
-VOLUME=$(echo "$INFO" | grep 'set-sink-volume' | cut -d' ' -f 3 | perl -e'my $vol = 100*oct(<>)/0x10000; print $vol > 100 ? 100 : $vol')
-STATE=$(echo "$INFO" | grep 'set-sink-mute' | cut -d' ' -f 3)
-if [[ "x$STATE" == "xyes" ]]; then
- volnoti-show -m
-else
- volnoti-show $VOLUME
-fi