diff options
author | louie <lshprung@yahoo.com> | 2021-12-10 15:26:13 -0800 |
---|---|---|
committer | louie <lshprung@yahoo.com> | 2021-12-10 15:26:13 -0800 |
commit | a3d8a9508f3d0edfffc1ab5791bb29b0ae7a79c5 (patch) | |
tree | f546c0bf53e07fec255529c82c42148b1c9f0ae1 /unix | |
parent | e58f35f4580ad4377c3ba5dcaee5bbbd938713c6 (diff) |
Changed name. May tidy up/differentiate 'Terminal Media Launcher' vs 'terminal-media-launcher'
Diffstat (limited to 'unix')
-rw-r--r-- | unix/cache.c | 4 | ||||
-rw-r--r-- | unix/read_cfg.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/unix/cache.c b/unix/cache.c index efd7cdf..e618602 100644 --- a/unix/cache.c +++ b/unix/cache.c @@ -25,11 +25,11 @@ char *get_cache_path(bool create){ sprintf(path, "%s%c.cache%c", home, sep, sep); mkdir(path, 0755); - sprintf(path, "%s%c.cache%ctml%c", home, sep, sep, sep); + sprintf(path, "%s%c.cache%cterminal-media-launcher%c", home, sep, sep, sep); mkdir(path, 0755); } - sprintf(path, "%s%c.cache%ctml%cdata.bin", home, sep, sep, sep); + sprintf(path, "%s%c.cache%cterminal-media-launcher%cdata.bin", home, sep, sep, sep); return path; } 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" |