Skip to content

[FEATURE] Hyprland support #11

@SillyMythic

Description

@SillyMythic

Hacked (almost) perfect dotline support into Hyprland. Opened an issue instead of a PR bc I don't know how to implement.

windowrules inserted into hyprland config files eg. ~/.config/hypr/(hyprland, rules).conf

windowrule {
    name = "dotline-hyprland"
    match:class = ^(dotline)$
    match:float = on

    # Required rules
    # Change move rule to account for bar height
    move = center, -10
    pin = on
    float = on
    no_focus = on

    # Rules that might be needed for certain configurations
    border_size = 0
    no_shadow = on
    no_blur = on
    #monitor = DP-1
    
}

windowrule {
    # Keeps modals like errors working correctly

    name = "dotline-patches"
    match:class = ^(dotline)$
    match:title = Error

    no_focus = off
    no_shadow = off
    no_blur = off
}

Tested on CachyOS using end_4's dotfile configuration:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions