diff options
author | xyz <gky44px1999@gmail.com> | 2021-10-24 20:42:12 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-10-24 20:42:12 -0700 |
commit | 0ee9a9a1ea72efbe002e0802fa3fa261f54cd290 (patch) | |
tree | bbcdbdfb9083032ef6b87906937d753edd94f97e /home/xyz/.local/bin/sbar | |
parent | 851b60132a18422ca799950eb567a2883c701f13 (diff) |
refactor
Diffstat (limited to 'home/xyz/.local/bin/sbar')
-rwxr-xr-x | home/xyz/.local/bin/sbar | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/sbar b/home/xyz/.local/bin/sbar index 2981d683..3044fddc 100755 --- a/home/xyz/.local/bin/sbar +++ b/home/xyz/.local/bin/sbar @@ -34,7 +34,7 @@ update_vpn () { update_vol () { # $(NF-1) for both alsa and pulseaudio - vol="$(amixer get Master | awk -F'[][]' 'END{printf"%d %s",($(NF-1)=="on")?1:0,$2}')" + vol="$(amixer get Master | awk -F'[][]' 'END{printf("%d %s",($(NF-1)=="on")?1:0,$2)}')" } update_mic () { |