summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorCyrenArkade <cyrenarkade@gmail.com>2025-05-05 20:54:27 -0500
committerGitHub <noreply@github.com>2025-05-06 03:54:27 +0200
commit1ce614dfc0eb8b323e603b76975842c1f2e6a553 (patch)
treeb4a05c13b57c8faaaaf2c15cd10eb289548043dc /src/config/ConfigManager.cpp
parent930eeac900c60d147bf26491e15b0727605b3944 (diff)
animations: Add option for animating workspaces as if the first and last were adjacent (#10277)
* add option for animating workspaces as if the first and last were adjacent * change wraparound detection to use IDs instead of dispatcher * move shouldWraparound from MiscFunctions to Monitor
Diffstat (limited to 'src/config/ConfigManager.cpp')
-rw-r--r--src/config/ConfigManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 4ef39280..564ebcda 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -610,6 +610,7 @@ CConfigManager::CConfigManager() {
registerConfigVar("animations:enabled", Hyprlang::INT{1});
registerConfigVar("animations:first_launch_animation", Hyprlang::INT{1});
+ registerConfigVar("animations:workspace_wraparound", Hyprlang::INT{0});
registerConfigVar("input:follow_mouse", Hyprlang::INT{1});
registerConfigVar("input:follow_mouse_threshold", Hyprlang::FLOAT{0});