diff options
| -rwxr-xr-x | bin/statusbar | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/statusbar b/bin/statusbar index 3eb8057..a0b61d5 100755 --- a/bin/statusbar +++ b/bin/statusbar @@ -17,9 +17,9 @@ volume() { network() { ssid=$(iwgetid -r) if [ -n "$ssid" ]; then - symbol="直" + symbol=" " else - symbol="睊" + symbol="" fi printf '<span foreground="#f5a97f">%s %s</span>' "$symbol" "$ssid" } @@ -36,14 +36,14 @@ battery() { idx=$(((capacity - 1) / 10 + 1)) case "$status" in "Discharging") - symbol=$(echo "<span foreground=\"#ed8796\"></span>,,,,,,,,," | + symbol=$(echo '<span foreground="#ed8796"></span>,,,,,,,,,' | awk -F, "{ print \$$idx }") ;; "Charging") - symbol=$(echo " " | awk "{ print \$$idx }") + symbol=$(echo " " | awk "{ print \$$idx }") ;; "Full") - symbol="" + symbol="" ;; esac printf '<span foreground="#a6da95">%s %d%%</span>' "$symbol" "$capacity" |
