diff --git a/Scripts/i3blocks_volume b/Scripts/i3blocks_volume index 84da634..787e621 100755 --- a/Scripts/i3blocks_volume +++ b/Scripts/i3blocks_volume @@ -1,7 +1,7 @@ #!/bin/bash if [ "$(pactl get-sink-mute @DEFAULT_SINK@)" = "Mute: yes" ]; then - echo "vol: mute" + echo " mute" else - echo "vol: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{printf "%s", substr($5, 1, length($5) - 1)}')" + echo " $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{printf "%s", substr($5, 1, length($5) - 1)}')" fi diff --git a/i3blocks_volume b/i3blocks_volume deleted file mode 100755 index 787e621..0000000 --- a/i3blocks_volume +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -if [ "$(pactl get-sink-mute @DEFAULT_SINK@)" = "Mute: yes" ]; then - echo " mute" -else - echo " $(pactl get-sink-volume @DEFAULT_SINK@ | awk '{printf "%s", substr($5, 1, length($5) - 1)}')" -fi