96 lines
2.6 KiB
KDL
96 lines
2.6 KiB
KDL
// 这是窗口布局表。由于经常改,也拆出来了。
|
|
|
|
window-rule {
|
|
geometry-corner-radius 6
|
|
clip-to-geometry true
|
|
}
|
|
|
|
window-rule {
|
|
// 以下应用不应该开模糊——开了模糊也只是附上一层边框色,并不具备通常意义上的亚克力、云母质感。
|
|
// 排除列表随时更新。因为我测不过来。
|
|
// 另注:为什么不用正则组合成一行?正则越长性能开销越大。况且单独的应用方便用注释切换。
|
|
exclude app-id="QQ"
|
|
exclude app-id="wechat"
|
|
exclude app-id="steam"
|
|
exclude app-id="google-chrome"
|
|
exclude app-id="org.telegram.desktop"
|
|
exclude app-id=".exe$" // wine
|
|
exclude title=r#"Visual Studio Code$"# app-id=r#"^code"#
|
|
// match app-id="(foot|obs)"
|
|
opacity 0.8
|
|
background-effect {
|
|
blur true
|
|
xray false
|
|
}
|
|
}
|
|
|
|
window-rule {
|
|
match app-id="QQ"
|
|
match app-id="[Ee]lectron" title="MetaCubeXD$"
|
|
match app-id="wechat"
|
|
match app-id="org.telegram.desktop"
|
|
match app-id="nwjs" // mainly for rpgmaker games.
|
|
// open-on-output "eDP-1"
|
|
block-out-from "screencast"
|
|
}
|
|
|
|
window-rule {
|
|
match app-id="com.obsproject.Studio"
|
|
// default-column-width { proportion 0.6; }
|
|
open-on-output "eDP-1"
|
|
}
|
|
|
|
/-window-rule {
|
|
match app-id="google-chrome"
|
|
default-column-width { proportion 0.6; }
|
|
}
|
|
|
|
window-rule {
|
|
match app-id="[Ee]lectron" title="Test" // frg2089.BiliLive.Observer
|
|
match app-id="[Ee]lectron" title="Blivechat-Openlive" // blivechat
|
|
default-column-width { proportion 0.42; }
|
|
// default-column-display "tabbed"
|
|
open-on-output "eDP-1"
|
|
}
|
|
|
|
window-rule {
|
|
match title="^(图片查看器|.*记录)$" app-id="QQ"
|
|
match app-id="pavucontrol-qt"
|
|
|
|
default-column-width { proportion 0.6; }
|
|
default-window-height { proportion 0.85; }
|
|
open-floating true
|
|
}
|
|
|
|
window-rule {
|
|
match app-id="nwjs"
|
|
|
|
default-column-width { proportion 0.85; }
|
|
default-window-height { proportion 0.9; }
|
|
open-floating true
|
|
}
|
|
|
|
window-rule {
|
|
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
|
|
match app-id=r#"^org\.gnome\.World\.Secrets$"#
|
|
match app-id=r#"^org\.kde\.ksecretd$"#
|
|
open-floating true
|
|
}
|
|
|
|
window-rule {
|
|
// match title=r#"Code - OSS$"#
|
|
match title=r#"Visual Studio Code$"# app-id=r#"^code"#
|
|
// match app-id="krita"
|
|
|
|
open-maximized true
|
|
}
|
|
|
|
window-rule {
|
|
// match app-id=r#"firefox$"# title="^Picture-in-Picture$"
|
|
match app-id="steam" title="Friends List"
|
|
open-floating true
|
|
default-floating-position x=8 y=8 relative-to="bottom-right"
|
|
open-focused false
|
|
open-on-output "eDP-1"
|
|
}
|