Skip to content

Add layer-rule instead of mixed with window-rule #259

Open

Description

@fuadxtps23

Maybe it would cool for layer app if added animation like hyprland do. Also maybe contributors can add smooth curve based animation like hyprland, so my rofi can slide from bottom to center instead of popping directly on the screen.

edit:if i'm not busy maybe i can help by opening pr

Activity

  1. malbiruk commented on Sep 5, 2026

    @malbiruk
    Owner

    Splitting them -- yes, definitely. Layer surfaces currently ride on [[window_rules]] by matching their namespace against app_id, and several fields silently apply to only one side (decoration, layer_order, how chrome inherits). A separate [[layer_rules]] table matched on namespace, carrying only the fields that make sense for layers, is the right fix.

    Layer animations aren't planned right now. If it happens, it'll be opt-in per layer on the new table (bars and OSDs re-map far too often to animate by default, and a slide needs a direction anyway), so the split has to land first either way. Feel free to open a separate issue for it so this one stays about the rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions