diff options
author | dakkar <dakkar@thenautilus.net> | 2016-01-30 20:30:24 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2016-01-30 20:30:24 +0000 |
commit | 0cf315f3b7ef8fa0374ff16029fe15e217e8af7d (patch) | |
tree | 97972fa085d9fd145f4001d94a621924bc8632de | |
parent | handle more battery reporting styles (diff) | |
download | battery-0cf315f3b7ef8fa0374ff16029fe15e217e8af7d.tar.gz battery-0cf315f3b7ef8fa0374ff16029fe15e217e8af7d.tar.bz2 battery-0cf315f3b7ef8fa0374ff16029fe15e217e8af7d.zip |
narrower spacing because of nicer font
-rwxr-xr-x | battery | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -60,16 +60,16 @@ sub update { my $charging = lc($bs->{status}) eq 'charging'; my $is_full = lc($bs->{status}) eq 'full'; if ($charging) { - $txt = "\x{1f50c} "; + $txt = "\x{1f50c}"; } elsif (!$is_full) { - $txt = "\x{1f50b} "; + $txt = "\x{1f50b}"; } if ($deriv && !$charging) { my $t=$now/$deriv; my $tot=$full/$deriv; - $txt .= sprintf '%s/%s ', + $txt .= sprintf "%s/%s\x{2009}", _format_time($t), _format_time($tot); $bar->set_fraction($t/$tot); |