From a3d8a9508f3d0edfffc1ab5791bb29b0ae7a79c5 Mon Sep 17 00:00:00 2001 From: louie Date: Fri, 10 Dec 2021 15:26:13 -0800 Subject: Changed name. May tidy up/differentiate 'Terminal Media Launcher' vs 'terminal-media-launcher' --- unix/read_cfg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'unix/read_cfg.c') diff --git a/unix/read_cfg.c b/unix/read_cfg.c index 3da4b4d..4d98c82 100644 --- a/unix/read_cfg.c +++ b/unix/read_cfg.c @@ -20,8 +20,8 @@ char *find_config(){ int check_count = 2; int i; - sprintf(choices[0], "%s%c.config%ctml%cconfig", home, sep, sep, sep); - sprintf(choices[1], "%s%c.tml%cconfig", home, sep, sep); + sprintf(choices[0], "%s%c.config%cterminal-media-launcher%cconfig", home, sep, sep, sep); + sprintf(choices[1], "%s%c.terminal-media-launcher%cconfig", home, sep, sep); for(i = 0; i < check_count; i++){ path = choices[i]; @@ -67,10 +67,10 @@ void mkconfig_wizard(char *path){ sprintf(path, "%s%c.config%c", home, sep, sep); mkdir(path, 0755); - sprintf(path, "%s%c.config%ctml%c", home, sep, sep, sep); + sprintf(path, "%s%c.config%cterminal-media-launcher%c", home, sep, sep, sep); mkdir(path, 0755); - sprintf(path, "%s%c.config%ctml%cconfig", home, sep, sep, sep); + sprintf(path, "%s%c.config%cterminal-media-launcher%cconfig", home, sep, sep, sep); //open file for writing, make sure non-NULL fp = fopen(path, "w"); @@ -80,7 +80,7 @@ void mkconfig_wizard(char *path){ } //write to file - fprintf(fp, "# This file was auto-generated by tml. See docs/tml-config.md or tml-config(5) for documentation\n" + fprintf(fp, "# This file was auto-generated by terminal-media-launcher. See docs/terminal-media-launcher-config.md or terminal-media-launcher-config(5) for documentation\n" "# The default launcher is set to \"xdg-open\" which will open files based on the relevant default application set through xdg\n\n" "# Recursively add files from %s%cMusic%c to Music group\n" "addGroup Music\n" -- cgit