dotfiles

My dotfiles used for LARBS
Log | Files | Refs | README | LICENSE

commit c8eae342fe13e0e7956be291c02269de4378681e
parent f6659aac334265a73c48d27a7babdfce1f5f886e
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 23 Mar 2020 12:21:25 -0400

volume multiline output error fixed

Diffstat:
M.local/bin/statusbar/volume | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/statusbar/volume b/.local/bin/statusbar/volume @@ -14,7 +14,7 @@ volstat="$(amixer get Master)" echo "$volstat" | grep "\[off\]" >/dev/null && printf "🔇\\n" && exit -vol=$(echo "$volstat" | grep -o "\[[0-9]\+%\]" | sed 's/[^0-9]*//g') +vol=$(echo "$volstat" | grep -o "\[[0-9]\+%\]" | sed "s/[^0-9]*//g;1q") if [ "$vol" -gt "70" ]; then icon="🔊"