summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-02-26 23:14:19 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-02-26 23:14:26 +0000
commit74a10f26a469de54968e584525f6507928f615f0 (patch)
treebbed3654a41d27f34ab42d7b6695655dfabf86c8 /src/config/ConfigManager.cpp
parent492f36f7dfe9a6c9b31989e9c0571b30c481c8ce (diff)
remove old unused animation cfgs
Diffstat (limited to 'src/config/ConfigManager.cpp')
-rw-r--r--src/config/ConfigManager.cpp33
1 files changed, 6 insertions, 27 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index c55dd498..c2d8a3ca 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -34,10 +34,9 @@ CConfigManager::CConfigManager() {
}
void CConfigManager::setDefaultVars() {
- configValues["general:max_fps"].intValue = 60;
- configValues["general:sensitivity"].floatValue = 1.0f;
- configValues["general:apply_sens_to_raw"].intValue = 0;
-
+ configValues["general:max_fps"].intValue = 60;
+ configValues["general:sensitivity"].floatValue = 1.0f;
+ configValues["general:apply_sens_to_raw"].intValue = 0;
configValues["general:border_size"].intValue = 1;
configValues["general:no_border_on_floating"].intValue = 0;
configValues["general:gaps_in"].intValue = 5;
@@ -51,8 +50,7 @@ void CConfigManager::setDefaultVars() {
configValues["general:resize_on_border"].intValue = 0;
configValues["general:extend_border_grab_area"].intValue = 15;
configValues["general:hover_icon_on_border"].intValue = 1;
-
- configValues["general:layout"].strValue = "dwindle";
+ configValues["general:layout"].strValue = "dwindle";
configValues["misc:disable_hyprland_logo"].intValue = 0;
configValues["misc:disable_splash_rendering"].intValue = 0;
@@ -120,26 +118,9 @@ void CConfigManager::setDefaultVars() {
configValues["master:orientation"].strValue = "left";
configValues["master:inherit_fullscreen"].intValue = 1;
- configValues["animations:enabled"].intValue = 1;
- configValues["animations:speed"].floatValue = 7.f;
- configValues["animations:curve"].strValue = "default";
- configValues["animations:windows_style"].strValue = STRVAL_EMPTY;
- configValues["animations:windows_curve"].strValue = "[[f]]";
- configValues["animations:windows_speed"].floatValue = 0.f;
- configValues["animations:windows"].intValue = 1;
- configValues["animations:borders_style"].strValue = STRVAL_EMPTY;
- configValues["animations:borders_curve"].strValue = "[[f]]";
- configValues["animations:borders_speed"].floatValue = 0.f;
- configValues["animations:borders"].intValue = 1;
- configValues["animations:fadein_style"].strValue = STRVAL_EMPTY;
- configValues["animations:fadein_curve"].strValue = "[[f]]";
- configValues["animations:fadein_speed"].floatValue = 0.f;
- configValues["animations:fadein"].intValue = 1;
- configValues["animations:workspaces_style"].strValue = STRVAL_EMPTY;
- configValues["animations:workspaces_curve"].strValue = "[[f]]";
- configValues["animations:workspaces_speed"].floatValue = 0.f;
- configValues["animations:workspaces"].intValue = 1;
+ configValues["animations:enabled"].intValue = 1;
+ configValues["input:follow_mouse"].intValue = 1;
configValues["input:sensitivity"].floatValue = 0.f;
configValues["input:accel_profile"].strValue = STRVAL_EMPTY;
configValues["input:kb_file"].strValue = STRVAL_EMPTY;
@@ -187,8 +168,6 @@ void CConfigManager::setDefaultVars() {
configValues["gestures:workspace_swipe_forever"].intValue = 0;
configValues["gestures:workspace_swipe_numbered"].intValue = 0;
- configValues["input:follow_mouse"].intValue = 1;
-
configValues["autogenerated"].intValue = 0;
}