mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Config file location ~/.config/profanity/config
This commit is contained in:
parent
6bfc88339c
commit
bf6f596899
@ -77,7 +77,7 @@ void prefs_load(void)
|
|||||||
{
|
{
|
||||||
ac = p_autocomplete_new();
|
ac = p_autocomplete_new();
|
||||||
prefs_loc = g_string_new(getenv("HOME"));
|
prefs_loc = g_string_new(getenv("HOME"));
|
||||||
g_string_append(prefs_loc, "/.profanity");
|
g_string_append(prefs_loc, "/.config/profanity/config");
|
||||||
|
|
||||||
prefs = g_key_file_new();
|
prefs = g_key_file_new();
|
||||||
g_key_file_load_from_file(prefs, prefs_loc->str, G_KEY_FILE_NONE, NULL);
|
g_key_file_load_from_file(prefs, prefs_loc->str, G_KEY_FILE_NONE, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user