diff options
author | David <dbphillipsnz@gmail.com> | 2014-05-02 11:31:46 +1200 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-05-02 11:31:46 +1200 |
commit | cfc6ca44874961ec468147111745c34a5bf1f9c0 (patch) | |
tree | d92148ead02f34c28f47dba4299c6a88477e0fa1 | |
parent | 91b78cb1f60430a9f2e87c27af26c883f95de754 (diff) | |
download | paramano-cfc6ca44874961ec468147111745c34a5bf1f9c0.tar.xz |
Changed config file name, spruced default config up
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | data/trayfreq.config | 9 | ||||
-rw-r--r-- | trayfreq.c | 4 |
3 files changed, 3 insertions, 12 deletions
@@ -80,7 +80,7 @@ install: mkdir -p $(INSTALL_PATH)/usr/share/locale/fr/LC_MESSAGES/ cp lc/fr.mo $(INSTALL_PATH)/usr/share/locale/fr/LC_MESSAGES/trayfreq.mo - install -Dm 644 data/trayfreq.config $(INSTALL_PATH)/usr/share/trayfreq/trayfreq.config + install -Dm 644 data/trayfreq.conf $(INSTALL_PATH)/usr/share/trayfreq/trayfreq.conf install -Dm 644 data/trayfreq.desktop $(INSTALL_PATH)/etc/xdg/autostart/trayfreq.desktop install -Dm 755 trayfreq $(INSTALL_PATH)/usr/bin/trayfreq install -Dm 755 trayfreq-set $(INSTALL_PATH)/usr/bin/trayfreq-set diff --git a/data/trayfreq.config b/data/trayfreq.config deleted file mode 100644 index 8783104..0000000 --- a/data/trayfreq.config +++ /dev/null @@ -1,9 +0,0 @@ -#[battery] -#show=1 -#governor=powersave -#[ac] -#governor=ondemand -#[governor] -#default=ondemand -#[frequency] -#default=800000 @@ -42,7 +42,7 @@ void config_init() gboolean home_config_exists; config.key_file = NULL; - config.file_name = g_strconcat(getenv("HOME"), "/.trayfreq.config", NULL); + config.file_name = g_strconcat(getenv("HOME"), "/.trayfreq.conf", NULL); // Check if ~/.trayfreq.config exists @@ -60,7 +60,7 @@ void config_init() } if(!home_config_exists) - config.file_name = g_strconcat("/usr/share/trayfreq/trayfreq.config", NULL); + config.file_name = g_strconcat("/usr/share/trayfreq/trayfreq.conf", NULL); gboolean success = config_open(&config); if(!success) |