Xdg config home support (#2047)
* config: Add support for XDG_CONFIG_HOME Contributes-to: #1040 Co-authored-by: Björn Bidar <bjorn.bidar@thaodan.de> Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de> * config: Log used config file * config: Add GetConfigDir and minor fixes * config: fixed minor nitpicks --------- Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de> Co-authored-by: Björn Bidar <bjorn.bidar@thaodan.de>
This commit is contained in:
parent
e632bf176b
commit
f49af187bc
3 changed files with 56 additions and 55 deletions
|
|
@ -175,6 +175,8 @@ class CConfigManager {
|
|||
|
||||
SConfigValue* getConfigValuePtr(const std::string&);
|
||||
SConfigValue* getConfigValuePtrSafe(const std::string&);
|
||||
static std::string getConfigDir();
|
||||
static std::string getMainConfigPath();
|
||||
|
||||
SMonitorRule getMonitorRuleFor(const std::string&, const std::string& displayName = "");
|
||||
SWorkspaceRule getWorkspaceRuleFor(CWorkspace*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue