From 2d39d815601236cfcbca57087cd2a74795bf5f56 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Mon, 18 Nov 2024 11:32:02 -0500 Subject: [PATCH] refactor(desktop): unify animations on both desktops --- devices/binto/config/hypr/main.conf | 6 --- devices/wim/config/hypr/main.conf | 44 ------------------- .../config/widgets/corners/screen-corners.tsx | 2 +- nixosModules/ags/hyprland.nix | 30 +++++++++++++ nixosModules/ags/packages.nix | 8 +++- nixosModules/desktop/theme/default.nix | 37 +++++----------- 6 files changed, 50 insertions(+), 77 deletions(-) delete mode 100644 devices/binto/config/hypr/main.conf delete mode 100644 devices/wim/config/hypr/main.conf diff --git a/devices/binto/config/hypr/main.conf b/devices/binto/config/hypr/main.conf deleted file mode 100644 index a14b8e95..00000000 --- a/devices/binto/config/hypr/main.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Cosmetic -general { - gaps_in = 10 - gaps_out = 20 - border_size = 0 -} diff --git a/devices/wim/config/hypr/main.conf b/devices/wim/config/hypr/main.conf deleted file mode 100644 index 4aa6d0ae..00000000 --- a/devices/wim/config/hypr/main.conf +++ /dev/null @@ -1,44 +0,0 @@ -# Cosmetic -general { - gaps_in = 5 - gaps_out = 5 - border_size = 2 - col.active_border = rgb(411C6C) - col.inactive_border = rgba(595959aa) -} - -decoration { - rounding = 20 - - blur { - enabled = true - size = 3 - passes = 1 - } - - shadow { - enabled = false - } -} - -animations { - enabled = yes - - # Fade out bezier - bezier = easeInExpo , 0.95 , 0.05, 0.795, 0.035 - # Fade in bezier - bezier = easeOutExpo , 0.19 , 1 , 0.22 , 1 - - bezier = easeInOutQuart, 0.77 , 0 , 0.175, 1 - bezier = easeOutQuart , 0.165, 0.84, 0.44 , 1 - bezier = easeInQuart , 0.895, 0.03, 0.685, 0.22 - - animation = windowsIn , 1, 4, easeOutQuart, slide - animation = windowsOut , 1, 4, easeInQuart , slide - animation = windowsMove, 1, 4, easeOutQuart, slide - - animation = workspaces, 1, 6, easeOutQuart, slide - - animation = fadeIn , 1, 10, easeOutExpo - animation = fadeOut, 1, 10, easeInExpo -} diff --git a/nixosModules/ags/config/widgets/corners/screen-corners.tsx b/nixosModules/ags/config/widgets/corners/screen-corners.tsx index 69dc74a8..d1555b30 100644 --- a/nixosModules/ags/config/widgets/corners/screen-corners.tsx +++ b/nixosModules/ags/config/widgets/corners/screen-corners.tsx @@ -20,7 +20,7 @@ export default ( >