diff options
author | vaxerski <[email protected]> | 2022-05-14 16:01:37 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-05-14 16:01:37 +0200 |
commit | 8f0aa6c941733ac5b540de27909b9b279be61aae (patch) | |
tree | 8873af7a9b4db5a517661438d94cca93522e2b1a | |
parent | cafd7a7a6224b5c0d2aecf53cfeecbc4ef620bcc (diff) | |
download | Hyprland-8f0aa6c941733ac5b540de27909b9b279be61aae.tar.gz Hyprland-8f0aa6c941733ac5b540de27909b9b279be61aae.zip |
Use new keyword in the config
-rw-r--r-- | example/hyprland.conf | 15 | ||||
-rw-r--r-- | src/config/defaultConfig.hpp | 15 |
2 files changed, 8 insertions, 22 deletions
diff --git a/example/hyprland.conf b/example/hyprland.conf index 53efe44b..73a0ce74 100644 --- a/example/hyprland.conf +++ b/example/hyprland.conf @@ -42,17 +42,10 @@ decoration { animations { enabled=1 - speed=7 # speed is measured in 100s of ms, 7 = 700ms - curve=default # you can customize your own bezier curves, see the wiki - windows_curve=default # specific curve for all window animations - windows_speed=6 # specific speeds for components can be made with name_speed=float. 0 means use global (speed=float). If not set, will use the global value. - windows=1 - borders=1 - borders_speed=10 - fadein=1 # fade in AND out - fadein_speed=10 - workspaces=1 - workspaces_speed=8 + animation=windows,1,7,default + animation=borders,1,10,default + animation=fadein,1,10,default + animation=workspaces,1,6,default } dwindle { diff --git a/src/config/defaultConfig.hpp b/src/config/defaultConfig.hpp index 0b9328ce..e477ebbb 100644 --- a/src/config/defaultConfig.hpp +++ b/src/config/defaultConfig.hpp @@ -49,17 +49,10 @@ decoration { animations { enabled=1 - speed=7 # speed is measured in 100s of ms, 7 = 700ms - curve=default # you can customize your own bezier curves, see the wiki - windows_curve=default # specific curve for all window animations - windows_speed=6 # specific speeds for components can be made with name_speed=float. 0 means use global (speed=float). If not set, will use the global value. - windows=1 - borders=1 - borders_speed=10 - fadein=1 # fade in AND out - fadein_speed=10 - workspaces=1 - workspaces_speed=8 + animation=windows,1,7,default + animation=borders,1,10,default + animation=fadein,1,10,default + animation=workspaces,1,6,default } dwindle { |