all repos — tint2 @ 9d2e62f724059b0f44ce265cf62b7e550889fd0c

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

battery: Tooltips for FreeBSD (fix typo)
o9000 o9000
commit

9d2e62f724059b0f44ce265cf62b7e550889fd0c

parent

6e77b59ef828a84ee5a49e658bbe7f904496c9f0

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/battery/freebsd.csrc/battery/freebsd.c

@@ -83,7 +83,7 @@ g_string_append_printf(tooltip, "Battery\n");

gchar *state = (battery_state.state == BATTERY_UNKNOWN) ? "Level" : chargestate2str(battery_state.state); - g_string_append_printf(tooltip, "\t%s: %s", state, percentage); + g_string_append_printf(tooltip, "\t%s: %s", state, battery_state.percentage); g_string_append_c(tooltip, '\n'); g_string_append_printf(tooltip, "AC\n");