From fbc839e8d9a6a55b25e68854a6ee9d7769353088 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 3 Dec 2022 14:40:12 +0000 Subject: [PATCH] reload shader on dynamic shader keyword --- src/debug/HyprCtl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 70fb3bd5..64ffd779 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -548,6 +548,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());