reload shader on dynamic shader keyword

This commit is contained in:
vaxerski 2022-12-03 14:40:12 +00:00
parent cb85eea261
commit fbc839e8d9

View file

@ -549,6 +549,9 @@ std::string dispatchKeyword(std::string in) {
if (COMMAND.contains("general:layout"))
g_pLayoutManager->switchToLayout(g_pConfigManager->getString("general:layout")); // update layout
if (COMMAND.contains("decoration:screen_shader"))
g_pHyprOpenGL->m_bReloadScreenShader = true;
Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str());
if (retval == "")