diff --git a/options/custom/desktops/hyprland/rules.nix b/options/custom/desktops/hyprland/rules.nix index 2df4594..70e9f69 100644 --- a/options/custom/desktops/hyprland/rules.nix +++ b/options/custom/desktops/hyprland/rules.nix @@ -42,6 +42,12 @@ in { "special:wallpaper, on-created-empty:${command "${loupe} /tmp/wallpaper.png"}" ]; + # https://wiki.hyprland.org/Configuring/Window-Rules/#layer-rules + #?? layerrule = RULE, + layerrule = [ + "noanim, rofi" + ]; + # https://wiki.hyprland.org/Configuring/Window-Rules #?? windowrulev2 = RULE, WINDOW windowrulev2 = with config.custom; let diff --git a/options/custom/desktops/hyprland/variables.nix b/options/custom/desktops/hyprland/variables.nix index 7f05ee3..afb990f 100644 --- a/options/custom/desktops/hyprland/variables.nix +++ b/options/custom/desktops/hyprland/variables.nix @@ -17,19 +17,18 @@ in { # https://wiki.hyprland.org/Configuring/Animations/ #?? animation = NAME, ONOFF, SPEED, CURVE, STYLE animation = [ - "global, 1, 3, easeOutCubic" - "specialWorkspace, 1, 3, easeOutCubic, fade" - "windows, 1, 3, easeOutCubic, slide" - "workspaces, 1, 3, easeOutCubic, slidevert" + "global, 1, 4, default" + "windows, 1, 4, custom, popin 25%" + "layers, 1, 4, custom, popin 25%" + "workspaces, 1, 4, custom, slidevert" + "specialWorkspace, 1, 4, custom, slidefadevert 25%" ]; # 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" + "custom, 0.5, 1.25, 0.5, 1" ]; # https://wiki.hyprland.org/Configuring/Variables/#binds