From 8f0aa6c941733ac5b540de27909b9b279be61aae Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 14 May 2022 16:01:37 +0200 Subject: [PATCH] Use new keyword in the config --- example/hyprland.conf | 15 ++++----------- 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 {