diff options
author | Piotr Domagalski <piotr@domagalski.com> | 2012-08-28 22:07:33 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2012-08-31 12:08:24 +0200 |
commit | fa4e9cdfb3147fbcfb9e42067a49652d0a0d7456 (patch) | |
tree | beacee945f35d28e166f4a6b8f858930230ca218 /src/print_disk_info.c | |
parent | 68f438ec9eefbca5d735a1a7897d52e0e8e6f1c7 (diff) |
Eat unnecessary space from the battery format str.
If the battery is not discharging it may be not possible to give information on
remaining time or consumption. The resulting strings (%remaining, %consumption,
%emptytime) are empty then. But because they are in the format string, the
output string contains unnecessary spaces in this case.
This commit makes i3status strip these spaces.
Diffstat (limited to 'src/print_disk_info.c')
0 files changed, 0 insertions, 0 deletions