aboutsummaryrefslogtreecommitdiff
path: root/trayfreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'trayfreq.c')
-rw-r--r--trayfreq.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/trayfreq.c b/trayfreq.c
index 743bbaf..173f54f 100644
--- a/trayfreq.c
+++ b/trayfreq.c
@@ -52,6 +52,10 @@ void config_init()
g_warning(_("Failed to open config files!\n"));
return;
}
+
+ // Reset defaults to default values
+ defaults_init();
+
_DEFAULT_GOV = config_get_key(&config, "governor", "default");
_DEFAULT_FREQ = config_get_key(&config, "frequency", "default");
_DEFAULT_BAT_GOV = config_get_key(&config, "battery", "governor");