From 8729cc6fa36f6cf5772543c6a703971035e28f59 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 25 Jan 2023 15:36:45 +0000 Subject: [PATCH] added layerrules --- pages/Configuring/Window-Rules.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pages/Configuring/Window-Rules.md b/pages/Configuring/Window-Rules.md index cd661a6..71edd01 100644 --- a/pages/Configuring/Window-Rules.md +++ b/pages/Configuring/Window-Rules.md @@ -138,3 +138,19 @@ allowed to set opacities over 1, but any opacity product over 1 will cause graphical glitches. E.g. `0.5 * 2 = 1`, and it will be fine, `0.5 * 4` will cause graphical glitches. {{< /hint >}} + +# Layer Rules +Some things in wayland are not windows, but layers. That includes for example most launchers, your status bar or wallpaper. + +Those have specific rules separate from windows: + +```ini +layerrule = rule, namespace +``` +where `rule` is the rule and `namespace` is the namespace regex (find namespaces in `hyprctl layers`) + +## Rules + +| rule | description | +| --- | --- | +| noanim | disables animations |