config/ConfigManager.cpp: add instruction to edit config (#9130)

This commit is contained in:
amnesiacsardine
2025-01-22 11:16:46 +01:00
committed by GitHub
parent ce48bc5408
commit c8a0443adc

View File

@@ -930,7 +930,7 @@ void CConfigManager::postConfigReload(const Hyprlang::CParseResult& result) {
g_pHyprError->queueCreate(result.getError(), CHyprColor(1.0, 50.0 / 255.0, 50.0 / 255.0, 1.0));
else if (std::any_cast<Hyprlang::INT>(m_pConfig->getConfigValue("autogenerated")) == 1)
g_pHyprError->queueCreate(
"Warning: You're using an autogenerated config! (config file: " + getMainConfigPath() +
"Warning: You're using an autogenerated config! Edit the config file to get rid of this message. (config file: " + getMainConfigPath() +
" )\nSUPER+Q -> kitty (if it doesn't launch, make sure it's installed or choose a different terminal in the config)\nSUPER+M -> exit Hyprland",
CHyprColor(1.0, 1.0, 70.0 / 255.0, 1.0));
else if (*PENABLEEXPLICIT != prevEnabledExplicit)