From 5e7eafb2fdd6755633c322ae556e9a4651bdb369 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 26 Mar 2024 13:21:20 +0400 Subject: wiki: Add is-focused example --- wiki/Configuration:-Window-Rules.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index a2cb5cff..4b6028d8 100644 --- a/wiki/Configuration:-Window-Rules.md +++ b/wiki/Configuration:-Window-Rules.md @@ -148,6 +148,12 @@ Contrary to `is-active`, there can only be a single focused window. Also, when opening a layer-shell application launcher or pop-up menu, the keyboard focus goes to layer-shell. While layer-shell has the keyboard focus, windows will not match this rule. +``` +window-rule { + match is-focused=true +} +``` + ### Window Opening Properties These properties apply once, when a window first opens. -- cgit