From dc98cba24cb5f1f3e260c49fc61add4a113a1df0 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 19 Jun 2023 08:25:41 +0200 Subject: Update to status (now I use a statusbar) --- old/volume | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 old/volume (limited to 'old/volume') diff --git a/old/volume b/old/volume new file mode 100755 index 0000000..8dcd36a --- /dev/null +++ b/old/volume @@ -0,0 +1,13 @@ +#!/bin/sh + +# Change volume and notify +# Usage: volume {+n|-n} +# Requires: pulsemixer, notify-send or similar + +#notify=notify-send +notify=herbe + +newvol=$(pulsemixer --change-volume "$1" --get-volume | awk '{print $1}') + +pkill herbe # comment this line too if not using herbe +$notify "Volume" "$newvol%" -- cgit v1.3