From 2f3ce0ed39bb444ab457deeba71ff2d0222e97d6 Mon Sep 17 00:00:00 2001 From: dx Date: Tue, 7 Jul 2020 00:29:44 +0100 Subject: ~scripts with better simpler icons --- Scripts/.local/scripts/status/volume | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'Scripts/.local/scripts/status/volume') diff --git a/Scripts/.local/scripts/status/volume b/Scripts/.local/scripts/status/volume index c3de64c..c8c3dc5 100755 --- a/Scripts/.local/scripts/status/volume +++ b/Scripts/.local/scripts/status/volume @@ -3,19 +3,9 @@ sinks="$(pactl list sinks)" vol="$(echo "$sinks" | grep '[0-9]\+%' | sed "s,.* \([0-9]\+\)%.*,\1,;1q")" mpc_vol="$($HOME/.local/scripts/mpc_volume)" -if [[ $vol -gt 50 ]] -then - icon="" -elif [[ $vol -gt 10 ]] -then - icon="" -else - icon="" -fi - if [[ $mpc_vol == "n/a" ]] then - echo "$icon $vol%" + echo " $vol%" else - echo "$icon $vol% $mpc_vol%" + echo " $vol% $mpc_vol%" fi -- cgit v1.2.3-13-gbd6f