summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-12-03 14:40:12 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-12-03 14:45:10 +0000
commitfbc839e8d9a6a55b25e68854a6ee9d7769353088 (patch)
tree6f5fd19577c7360546fdefdcad86670b1b5c406d /src/debug
parentcb85eea261d7ee9994bcf8d3152b119e730270b9 (diff)
reload shader on dynamic shader keyword
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/HyprCtl.cpp3
1 files changed, 3 insertions, 0 deletions
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());