diff --git a/.local/bin/voldown b/.local/bin/voldown new file mode 100755 index 0000000..b230639 --- /dev/null +++ b/.local/bin/voldown @@ -0,0 +1,7 @@ +#!/bin/bash + +pactl -- set-sink-volume 0 -5% + +VOL=$(awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master)) + +notify-send -t 1000 "Volume: ${VOL}" diff --git a/.local/bin/volup b/.local/bin/volup new file mode 100755 index 0000000..cb2c3d7 --- /dev/null +++ b/.local/bin/volup @@ -0,0 +1,7 @@ +#!/bin/bash + +pactl -- set-sink-volume 0 +5% + +VOL=$(awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master)) + +notify-send -t 1000 "Volume: ${VOL}"