diff options
author | ZachIR <zachir@librem.one> | 2025-07-30 05:21:32 -0500 |
---|---|---|
committer | ZachIR <zachir@librem.one> | 2025-07-30 05:21:32 -0500 |
commit | 412e5571d507d99f9f1f81fce84e354ac0896c08 (patch) | |
tree | 6960274399f84fd5fe76868743a37cee28f6ddd2 /volume | |
parent | 0b921ed49b9f0c170bed444570d91e2d9901483b (diff) |
Update volume to match volsv
Diffstat (limited to 'volume')
-rwxr-xr-x | volume | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,6 +18,6 @@ case $BLOCK_BUTTON in esac volstat="$(volsv -v)" mutstat="$(volsv -g)" -echo "$mutstat" | grep -q "\[off\]" && printf "[X]" && exit +echo "$mutstat" | grep -q "yes" && printf "[X]" && exit vol="$(echo "$volstat" | grep '[0-9]\+%' | sed "s,.* \([0-9]\+\)%.*,\1,;1q")" printf "[%s]" "$vol" |