summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2025-01-29 10:50:39 +0000
committervaxerski <vaxry@vaxry.net>2025-01-29 10:50:39 +0000
commitaaa5573c73636a76dd3ae4758bfd89ae4d5eeb8a (patch)
treed93b69d8c21bfa2d3215a34f250efaf12ce9294c /src/debug
parent344e32d71bf115a32434da3fa72b2b6238706625 (diff)
config/hyprctl: fix keyword not updating autoreload
ref #9139
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 cfdba100..359428b1 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -1100,6 +1100,9 @@ static std::string dispatchKeyword(eHyprCtlOutputFormat format, std::string in)
}
}
+ if (COMMAND.contains("misc:disable_autoreload"))
+ g_pConfigManager->updateWatcher();
+
// decorations will probably need a repaint
if (COMMAND.contains("decoration:") || COMMAND.contains("border") || COMMAND == "workspace" || COMMAND.contains("zoom_factor") || COMMAND == "source" ||
COMMAND.starts_with("windowrule")) {