mirror of
https://github.com/larstvei/nix-config.git
synced 2025-12-28 03:10:13 +00:00
Simplify hyprland animations
This commit is contained in:
parent
8d54a4a778
commit
ddf23300b4
@ -1,32 +0,0 @@
|
||||
{
|
||||
# The animations is taken from Omarchy, see:
|
||||
# https://github.com/basecamp/omarchy/blob/master/default/hypr/looknfeel.conf
|
||||
wayland.windowManager.hyprland.settings.animations = {
|
||||
enabled = true;
|
||||
|
||||
bezier = [
|
||||
"easeOutQuint,0.23,1,0.32,1"
|
||||
"easeInOutCubic,0.65,0.05,0.36,1"
|
||||
"linear,0,0,1,1"
|
||||
"almostLinear,0.5,0.5,0.75,1.0"
|
||||
"quick,0.15,0,0.1,1"
|
||||
];
|
||||
|
||||
animation = [
|
||||
"global, 1, 10, default"
|
||||
"border, 1, 5.39, easeOutQuint"
|
||||
"windows, 1, 4.79, easeOutQuint"
|
||||
"windowsIn, 1, 4.1, easeOutQuint, popin 87%"
|
||||
"windowsOut, 1, 1.49, linear, popin 87%"
|
||||
"fadeIn, 1, 1.73, almostLinear"
|
||||
"fadeOut, 1, 1.46, almostLinear"
|
||||
"fade, 1, 3.03, quick"
|
||||
"layers, 1, 3.81, easeOutQuint"
|
||||
"layersIn, 1, 4, easeOutQuint, fade"
|
||||
"layersOut, 1, 1.5, linear, fade"
|
||||
"fadeLayersIn, 1, 1.79, almostLinear"
|
||||
"fadeLayersOut, 1, 1.39, almostLinear"
|
||||
"workspaces, 0, 0, ease"
|
||||
];
|
||||
};
|
||||
}
|
||||
@ -1,6 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
./animations
|
||||
./bindings
|
||||
./hypridle
|
||||
./hyprlock
|
||||
@ -36,6 +35,15 @@
|
||||
|
||||
gestures.gesture = "3, horizontal, workspace";
|
||||
|
||||
animations = {
|
||||
enabled = true;
|
||||
animation = [
|
||||
"global, 1, 1.5, default"
|
||||
"windows, 1, 1.5, default, slide"
|
||||
"workspaces, 0, 0, default"
|
||||
];
|
||||
};
|
||||
|
||||
cursor = {
|
||||
enable_hyprcursor = false;
|
||||
inactive_timeout = 2;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user