1
1
Fork 0

hyprland: modify animations

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-16 20:31:11 -06:00
parent f510e28376
commit b134cf9040
Signed by: Myned
GPG key ID: C7224454F7881A34
2 changed files with 12 additions and 7 deletions

View file

@ -42,6 +42,12 @@ in {
"special:wallpaper, on-created-empty:${command "${loupe} /tmp/wallpaper.png"}" "special:wallpaper, on-created-empty:${command "${loupe} /tmp/wallpaper.png"}"
]; ];
# https://wiki.hyprland.org/Configuring/Window-Rules/#layer-rules
#?? layerrule = RULE, <NAMESPACE|ADDRESS>
layerrule = [
"noanim, rofi"
];
# https://wiki.hyprland.org/Configuring/Window-Rules # https://wiki.hyprland.org/Configuring/Window-Rules
#?? windowrulev2 = RULE, WINDOW #?? windowrulev2 = RULE, WINDOW
windowrulev2 = with config.custom; let windowrulev2 = with config.custom; let

View file

@ -17,19 +17,18 @@ in {
# 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, 3, easeOutCubic" "global, 1, 4, default"
"specialWorkspace, 1, 3, easeOutCubic, fade" "windows, 1, 4, custom, popin 25%"
"windows, 1, 3, easeOutCubic, slide" "layers, 1, 4, custom, popin 25%"
"workspaces, 1, 3, easeOutCubic, slidevert" "workspaces, 1, 4, custom, slidevert"
"specialWorkspace, 1, 4, custom, slidefadevert 25%"
]; ];
# https://wiki.hyprland.org/Configuring/Animations/#curves # https://wiki.hyprland.org/Configuring/Animations/#curves
# https://easings.net/ # https://easings.net/
#?? bezier = NAME, X0, Y0, X1, Y1 #?? bezier = NAME, X0, Y0, X1, Y1
bezier = [ bezier = [
"easeInOutCubic, 0.65, 0, 0.35, 1" "custom, 0.5, 1.25, 0.5, 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