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
This commit is contained in:
CyrenArkade
2025-05-05 20:54:27 -05:00
committed by GitHub
parent 930eeac900
commit 1ce614dfc0
3 changed files with 27 additions and 1 deletions

View File

@@ -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});