1
1
Fork 0

hyprland: add animation config

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-15 16:02:59 -06:00
parent b1ac30ba40
commit 1c024b8559
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -15,13 +15,21 @@ in {
{ {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
# https://wiki.hyprland.org/Configuring/Animations/ # https://wiki.hyprland.org/Configuring/Animations/
#?? animation = NAME, ONOFF, SPEED, CURVE, [STYLE] #?? animation = NAME, ONOFF, SPEED, CURVE, STYLE
animation = [ animation = [
"global, 1, 4, default" "global, 1, 3, easeOutCubic"
"specialWorkspace, 1, 4, default, fade" "specialWorkspace, 1, 3, easeOutCubic, fade"
"windows, 1, 4, default, slide" "windows, 1, 3, easeOutCubic, slide"
"workspaces, 1, 4, default, slidevert" "workspaces, 1, 3, easeOutCubic, slidevert"
"layers, 0" ];
# https://wiki.hyprland.org/Configuring/Animations/#curves
# https://easings.net/
#?? bezier = NAME, X0, Y0, X1, Y1
bezier = [
"easeInOutCubic, 0.65, 0, 0.35, 1"
"easeOutCubic, 0.33, 1, 0.68, 1"
"easeOutSine, 0.61, 1, 0.88, 1"
]; ];
# https://wiki.hyprland.org/Configuring/Variables/#binds # https://wiki.hyprland.org/Configuring/Variables/#binds
@ -131,7 +139,7 @@ in {
mouse_refocus = false; # Required to focus last window on close mouse_refocus = false; # Required to focus last window on close
repeat_delay = 250; repeat_delay = 250;
repeat_rate = 30; repeat_rate = 40;
sensitivity = 0.5; sensitivity = 0.5;
scroll_factor = 1.25; scroll_factor = 1.25;
#// special_fallthrough = true; # Focus windows under special workspace #// special_fallthrough = true; # Focus windows under special workspace