all repos — tint2 @ 61d786cf4f9d4ef33eabe42ad2b4e2b86630405d

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

battery: Tooltips for FreeBSD (fix format string)
o9000 o9000
commit

61d786cf4f9d4ef33eabe42ad2b4e2b86630405d

parent

9d2e62f724059b0f44ce265cf62b7e550889fd0c

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, battery_state.percentage); + g_string_append_printf(tooltip, "\t%s: %d%%", state, battery_state.percentage); g_string_append_c(tooltip, '\n'); g_string_append_printf(tooltip, "AC\n");