diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-12 23:49:42 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-12 23:49:42 -0400 |
| commit | 6491129dbb654e248df75f289ccf37a82cfab1f2 (patch) | |
| tree | 0fd0125aea433b5abf3ac0e658b7a529cdb48c37 | |
| parent | b0d56c3adfcad066d26a666764e808b072a0a110 (diff) | |
| download | eibhear-6491129dbb654e248df75f289ccf37a82cfab1f2.tar.gz eibhear-6491129dbb654e248df75f289ccf37a82cfab1f2.tar.zst eibhear-6491129dbb654e248df75f289ccf37a82cfab1f2.zip | |
bat script changes for better statusbar
| -rwxr-xr-x | .local/bin/statusbar/battery | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/statusbar/battery b/.local/bin/statusbar/battery index 65152f7..981fc3a 100755 --- a/.local/bin/statusbar/battery +++ b/.local/bin/statusbar/battery @@ -22,6 +22,6 @@ do # If it is discharging and 25% or less, we will add a ❗ as a warning. [ "$capacity" -le 25 ] && [ "$status" = "🔋" ] && warn="❗" - printf "%s%s%s%%\n" "$status" "$warn" "$capacity" + printf "%s%s%s%% " "$status" "$warn" "$capacity" unset warn -done +done | sed s/\ $/\\n/ |
