From 9e735ad2f5c1c7e29a2f27e2be2a1daa5bf8cc8c Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 19 Mar 2022 16:13:19 +0100 Subject: added borders --- src/config/ConfigManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/config/ConfigManager.cpp') diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 4cd9c007..f48f1dcd 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -15,6 +15,8 @@ CConfigManager::CConfigManager() { configValues["general:border_size"].intValue = 1; configValues["general:gaps_in"].intValue = 5; configValues["general:gaps_out"].intValue = 20; + configValues["general:col.active_border"].intValue = 0xffffffff; + configValues["general:col.inactive_border"].intValue = 0xff444444; } void CConfigManager::init() { @@ -216,7 +218,7 @@ void CConfigManager::loadConfigLoadVars() { void CConfigManager::tick() { const char* const ENVHOME = getenv("HOME"); - const std::string CONFIGPATH = ENVHOME + (ISDEBUG ? (std::string) "/.config/hypr/hyprd.conf" : (std::string) "/.config/hypr/hypr.conf"); + const std::string CONFIGPATH = ENVHOME + (ISDEBUG ? (std::string) "/.config/hypr/hyprlandd.conf" : (std::string) "/.config/hypr/hyprland.conf"); struct stat fileStat; int err = stat(CONFIGPATH.c_str(), &fileStat); -- cgit v1.2.3