From 9801c5d9caac6e8a2977b3ecba7df838bdcdb2b9 Mon Sep 17 00:00:00 2001 From: Akina Date: Sun, 20 Sep 2026 08:32:37 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=90=AF=E7=94=A8=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E8=A7=84=E5=88=99=E4=B8=8E=E5=B8=83=E5=B1=80=E5=AD=90=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - config.kdl 末尾引入 dms/windowrules.kdl 与 dms/layout.kdl - windowrules.kdl: Thunderbird、kuro 默认浮动并固定尺寸,DMS 面板浮动 --- config.kdl | 3 +++ dms/windowrules.kdl | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/config.kdl b/config.kdl index 55bbe10..a1eb3d5 100644 --- a/config.kdl +++ b/config.kdl @@ -632,3 +632,6 @@ include "dms/outputs.kdl" include "dms/cursor.kdl" include "dms/binds.kdl" + +include "dms/windowrules.kdl" +include "dms/layout.kdl" diff --git a/dms/windowrules.kdl b/dms/windowrules.kdl index e69de29..0d92f07 100644 --- a/dms/windowrules.kdl +++ b/dms/windowrules.kdl @@ -0,0 +1,24 @@ +// DMS Window Rules - Managed by DankMaterialShell +// Do not edit manually - changes may be overwritten + +// @id=wr_1781421586006984518 @name=org.mozilla.Thunderbird +window-rule { + match app-id="^org.mozilla.Thunderbird$" + open-floating true + default-column-width { fixed 1600; } + default-window-height { fixed 1200; } +} + +// @id=wr_1783662328837880577 @name=kuro +window-rule { + match app-id="^kuro$" + open-floating true + default-column-width { fixed 1280; } + default-window-height { fixed 1024; } +} + +// @id=dms-floating-windows @name=DMS Floating Windows +window-rule { + match app-id="^com.danklinux.dms$" + open-floating true +}