From 68498dd7c5fb29b940005ddf6259ab34ec6e4b9f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 10 Mar 2021 16:08:32 +0000 Subject: (Scripts)~volume: just display volume of machine rather than mpc --- Scripts/.local/scripts/status/volume | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Scripts') diff --git a/Scripts/.local/scripts/status/volume b/Scripts/.local/scripts/status/volume index c8c3dc5..87cb121 100755 --- a/Scripts/.local/scripts/status/volume +++ b/Scripts/.local/scripts/status/volume @@ -1,11 +1,5 @@ #!/usr/bin/env bash sinks="$(pactl list sinks)" vol="$(echo "$sinks" | grep '[0-9]\+%' | sed "s,.* \([0-9]\+\)%.*,\1,;1q")" -mpc_vol="$($HOME/.local/scripts/mpc_volume)" -if [[ $mpc_vol == "n/a" ]] -then - echo " $vol%" -else - echo " $vol% $mpc_vol%" -fi +echo " $vol%" -- cgit v1.2.3-13-gbd6f