aboutsummaryrefslogtreecommitdiff
path: root/reload.c
diff options
context:
space:
mode:
Diffstat (limited to 'reload.c')
-rw-r--r--reload.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/reload.c b/reload.c
index 2026365..6b78dac 100644
--- a/reload.c
+++ b/reload.c
@@ -20,12 +20,15 @@
void reload_config()
{
+ debug("Reloading config\n");
config_init();
if (_DEFAULT_SHOW_BATTERY)
{
- bat_tray_hide();
+ //bat_tray_hide();
bat_tray_show();
} else {
bat_tray_hide();
}
+ debug("Re-init freq tray\n");
+ tray_set_defaults();
}