mirror of
https://github.com/obsqrbtz/clrsync.git
synced 2026-04-09 04:29:04 +03:00
chore: split color_scheme_editor
This commit is contained in:
@@ -13,6 +13,10 @@ void print_color_keys()
|
||||
|
||||
std::string get_default_config_path()
|
||||
{
|
||||
const char* env_path = std::getenv("CLRSYNC_CONFIG_PATH");
|
||||
if (env_path && env_path[0] != '\0')
|
||||
return expand_user(env_path);
|
||||
|
||||
auto home = expand_user("~");
|
||||
#ifdef _WIN32
|
||||
return home + "\\.config\\clrsync\\config.toml";
|
||||
|
||||
Reference in New Issue
Block a user