summaryrefslogtreecommitdiff
path: root/mpc-bar.m
diff options
context:
space:
mode:
authorSpencer Williams <spnw@plexwave.org>2024-09-24 20:36:16 -0400
committerSpencer Williams <spnw@plexwave.org>2024-09-24 20:36:16 -0400
commitdc121d21632e8b4c40072c2171dbdb655c344836 (patch)
treed002253e8945b64ec9a269d545fcd0d02c5b0a86 /mpc-bar.m
parente2f686c903cc00d4a4956cf6ff209fa16c950416 (diff)
Choose better config file name, and bump version number properlyHEADv0.2main
Diffstat (limited to 'mpc-bar.m')
-rw-r--r--mpc-bar.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpc-bar.m b/mpc-bar.m
index c4a25b9..5d83fb0 100644
--- a/mpc-bar.m
+++ b/mpc-bar.m
@@ -10,7 +10,7 @@
#include "ini.h"
-#define VERSION "0.1.2"
+#define VERSION "0.2"
#define TITLE_MAX_LENGTH 96
#define SLEEP_INTERVAL 0.2
@@ -73,7 +73,7 @@ static int handler(void *userdata, const char *section, const char *name,
}
- (void)readConfigFile {
const char *path = [[NSHomeDirectory()
- stringByAppendingPathComponent:@".mpcbar.ini"] UTF8String];
+ stringByAppendingPathComponent:@".mpcbar"] UTF8String];
if (ini_parse(path, handler, &config) < 0) {
NSLog(@"Failed to read config file");
}