scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 38ce8e3c40aed5cb8c27aa1555a829de214f9a1a
parent 4a509a15f1a24f4106b105cbcbd756ded5688ae9
Author: dsp <dsp@2f30.org>
Date:   Mon, 17 May 2021 11:24:21 -0500

fixing a printout bug in the new volume script when it was ran without arguments

Diffstat:
Mvolume | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/volume b/volume @@ -12,7 +12,7 @@ printvolmixctl() { } printvolsndctl() { - currval=$(sndioctl|grep output.level\=|awk -F"=" '{print $NF * 100}') + currval=$(sndioctl|grep output.level\=|awk -F"=" '{print $NF * 100}'|sed 's/\..*//') echo "Current level:" $currval "%" }