diff options
-rwxr-xr-x | .local/bin/sbar | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/sbar b/.local/bin/sbar index 07ddd684..78aee6ca 100755 --- a/.local/bin/sbar +++ b/.local/bin/sbar @@ -17,7 +17,7 @@ bool () { # MODULES update_time () { - time="$(date '+%a %m/%d %H:%M') | $(TZ=Asia/Shanghai date '+/%d %H:')" + time="$(date '+%a %m/%d %H:%M') $(TZ=Asia/Shanghai date '+/%d %H:')" } update_cap () { @@ -29,7 +29,7 @@ update_net () { } update_vpn () { - vpn="$(mullvad status | awk '{print substr($3,0,3)}' | bool)" + vpn="$(mullvad status | awk '{print $3}' | bool)" } update_vol () { |