aboutsummaryrefslogtreecommitdiff
path: root/defaults.c
diff options
context:
space:
mode:
Diffstat (limited to 'defaults.c')
-rw-r--r--defaults.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/defaults.c b/defaults.c
index 6b605fc..926e1fd 100644
--- a/defaults.c
+++ b/defaults.c
@@ -23,4 +23,16 @@ char* _DEFAULT_FREQ;
char* _DEFAULT_PROG;
char* _DEFAULT_BAT_GOV;
char* _DEFAULT_AC_GOV;
+bool _DEFAULT_SHOW_BATTERY = TRUE;
bool _DEFAULT_USE_SUDO = FALSE;
+
+void defaults_init()
+{
+ _DEFAULT_GOV = NULL;
+ _DEFAULT_FREQ = NULL;
+ _DEFAULT_PROG = NULL;
+ _DEFAULT_BAT_GOV = NULL;
+ _DEFAULT_AC_GOV = NULL;
+ _DEFAULT_SHOW_BATTERY = TRUE;
+ _DEFAULT_USE_SUDO = FALSE;
+}