aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--data/trayfreq.config9
-rw-r--r--trayfreq.c4
3 files changed, 3 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 9905ac1..7c34210 100644
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,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
diff --git a/trayfreq.c b/trayfreq.c
index 7e5d8d4..4c23982 100644
--- a/trayfreq.c
+++ b/trayfreq.c
@@ -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)