From b98e05ba63f2e108df634b4d9f9e5530769c6b80 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 10 Jun 2021 18:58:52 +0200 Subject: Added scripts and readme --- volume | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 volume (limited to 'volume') diff --git a/volume b/volume new file mode 100755 index 0000000..6852577 --- /dev/null +++ b/volume @@ -0,0 +1,10 @@ +#!/bin/sh + +# Change volume and notify +# Usage: volume {+n|-n} +# Requires: pulsemixer, notify-send + +#TODO: use this to replace myvolumeup/myvolumedown + +newvol=$(pulsemixer --change-volume "$1" --get-volume | awk '{print $1}') +notify-send "Volume" "$newvol%" -- cgit v1.3