aboutsummaryrefslogtreecommitdiff
path: root/reload.c
diff options
context:
space:
mode:
Diffstat (limited to 'reload.c')
-rw-r--r--reload.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/reload.c b/reload.c
index fcc5ca9..2026365 100644
--- a/reload.c
+++ b/reload.c
@@ -16,7 +16,16 @@
* <http://www.gnu.org/licenses/>. *
************************************************************************/
+#include "reload.h"
+
void reload_config()
{
- printf("USR1\n");
+ config_init();
+ if (_DEFAULT_SHOW_BATTERY)
+ {
+ bat_tray_hide();
+ bat_tray_show();
+ } else {
+ bat_tray_hide();
+ }
}