]> git.sur5r.net Git - i3/i3status/commit
Created three individual Strings for each battery status (charging, dicharching,...
authorCyril Andreatta <cyril@andreatta.ch>
Tue, 7 Oct 2014 13:47:58 +0000 (15:47 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 7 Oct 2014 16:52:01 +0000 (18:52 +0200)
commit8e22f3839ddafcc434bc63f0b6483fb570150883
treea3b1b07a51d99ffaab0bdb7fe5ccef47bb6008e1
parent8a57208b1d98fbb384e5084816bd36b980fbc7f6
Created three individual Strings for each battery status (charging, dicharching, full)

Replaced hard coded status strings (CHR, BAT, FULL) in
print_battery_info.c with user defined strings. The new strings are
'status_chr', 'status_bat' and 'status_full' and can be set in i3status.conf.
e.g.
status_chr = "⚡ CHR"

If any of the new status strings is omitted the standard strings (CHR,
BAT, FULL) are used.
i3status.c
include/i3status.h
src/print_battery_info.c