aboutsummaryrefslogtreecommitdiff
path: root/reload.c
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-05-10 13:31:43 +1200
committerDavid <dbphillipsnz@gmail.com>2014-05-10 13:31:43 +1200
commit55da9c20452dd62db8fb776d4fee8f16a967281d (patch)
tree2de2992c05b696a7dacd0b6004737010cb7a8070 /reload.c
parente7d8d46e9a7f8590fd89f4b1964778f6b1f57e13 (diff)
downloadparamano-55da9c20452dd62db8fb776d4fee8f16a967281d.tar.xz
Better makefile (I got sidetracked)
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();
+ }
}