From e0870983b40e290c75fbe4f77d5372d8b0ed146f Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Mon, 2 Feb 2026 12:52:42 -0800 Subject: [PATCH] refactor(rules): use info boxes to highlight platform specificity --- src/content/docs/usage/rules.mdx | 59 +++++++++++++++++++------------- 1 file changed, 35 insertions(+), 24 deletions(-) diff --git a/src/content/docs/usage/rules.mdx b/src/content/docs/usage/rules.mdx index 16e83233..403c96c3 100644 --- a/src/content/docs/usage/rules.mdx +++ b/src/content/docs/usage/rules.mdx @@ -126,40 +126,51 @@ Workspace rules (including initial workspace rules) can be enforced in realtime are used to identify applications or windows which should be forcibly managed. This is typically a nuclear option for extremely uncooperative applications. - - +### Tray and Multi-Window Applications +:::note[Windows] +These rules are only applicable to komorebi for Windows +::: - ### Tray and Multi-Window Applications + are used to identify multi-window applications and applications which minmize to the system tray. - are used to identify multi-window applications and applications which minmize to the system tray. +### Slow Application Identifier Rules +:::note[Windows] +These rules are only applicable to komorebi for Windows +::: - ### Slow Application Identifier Rules + are used to identify applications which are slow to send initial event notifications. - are used to identify applications which are slow to send initial event notifications. +### Layered Applications +:::note[Windows] +These rules are only applicable to komorebi for Windows +::: - ### Layered Applications + are used to identify applications have the `WS_EX_LAYERED` extended window style, but should still be managed. - are used to identify applications have the `WS_EX_LAYERED` extended window style, but should still be managed. +### Object Name Change Applications +:::note[Windows] +These rules are only applicable to komorebi for Windows +::: - ### Object Name Change Applications + are used to identify applications which send `EVENT_OBJECT_NAMECHANGE` on launch. This is very rare, but includes popular applications such as Firefox (and derivatives), as well as JetBrains IDEs. - are used to identify applications which send `EVENT_OBJECT_NAMECHANGE` on launch. This is very rare, but includes popular applications such as Firefox (and derivatives), as well as JetBrains IDEs. +### Slow Applications +:::note[Windows] +These rules are only applicable to komorebi for Windows +::: - ### Slow Applications + are used to identify applications which are slow to send initial event notifications. - are used to identify applications which are slow to send initial event notifications. +### Tabbed Applications +:::note[macOS] +These rules are only applicable to komorebi for Mac +::: - + are used to identify applications which use native macOS tabs (Finder, Ghostty etc.) - these are identified using their application name. - +### Titleless Applications +:::note[macOS] +These rules are only applicable to komorebi for Mac +::: - ### Tabbed Applications - - are used to identify applications which use native macOS tabs (Finder, Ghostty etc.) - these are identified using their application name. - - ### Titleless Applications - - are used to identify applications which launch without a title - these are identified using their application name. - - - + are used to identify applications which launch without a title - these are identified using their application name.