refactor(desktop): unify animations on both desktops

This commit is contained in:
matt1432 2024-11-18 11:32:02 -05:00
parent 6eb0921ec8
commit 2d39d81560
6 changed files with 50 additions and 77 deletions
nixosModules/ags

View file

@ -20,7 +20,7 @@ export default (
>
<drawingarea
css={`
border-radius: 18px;
border-radius: 8px;
border-width: 0.068rem;
${css}
`}

View file

@ -1,13 +1,43 @@
{...}: {
wayland.windowManager.hyprland = {
settings = {
general = {
gaps_in = 5;
gaps_out = 5;
border_size = 0;
};
decoration = {
rounding = 12;
blur = {
enabled = true;
size = 3;
passes = 1;
};
shadow.enabled = false;
};
animations = {
enabled = true;
bezier = [
"easeInQuart , 0.895, 0.03, 0.685, 0.22"
"easeOutQuart , 0.165, 0.84, 0.44 , 1"
"easeInOutQuart, 0.77, 0 , 0.175, 1"
# Fade out
"easeInExpo , 0.95, 0.05, 0.795, 0.035"
];
animation = [
"workspaces, 1, 6, easeOutQuart, slide"
"windows, 1, 4, easeOutQuart, slide"
"fadeIn , 0"
"fadeOut, 1, 3000, easeInExpo"
"fadeLayersIn , 0"
"fadeLayersOut, 1, 3000, easeInExpo"
"layers , 1, 4 , easeInOutQuart, slide left"

View file

@ -22,7 +22,13 @@ in {
};
astalLibs =
attrValues (
removeAttrs ags.inputs.astal.packages.${pkgs.system} ["docs" "gjs" "cava"]
removeAttrs ags.inputs.astal.packages.${pkgs.system} [
"cava"
"powerprofiles"
"river"
"docs" # not a lib
"gjs" # not a lib
]
)
++ [gtk-session-lock.packages.${pkgs.system}.default];