From 10f1b48834fbcc2fbf05b2112075d38436830ae4 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 10 Jan 2017 12:08:17 +0100 Subject: cleanup --- bin/volume | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 bin/volume (limited to 'bin/volume') diff --git a/bin/volume b/bin/volume deleted file mode 100755 index 1250a80..0000000 --- a/bin/volume +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -outputs=(Left Right) -i=1 -for o in ${outputs[@]}; do - vol=$(amixer get Master |grep "$o" |grep %) - if [[ "$vol" == *"off"* ]]; then - volumes[$i]="M" - else - volumes[$i]=$(echo $vol |awk '{print $5}'|sed 's/[^0-9%]//g') - fi - let i=i+1 -done -echo ${volumes[*]} -- cgit v1.2.3