feat(niri): add window rules

Changed files
+14 -15
.config
niri
+14 -15
.config/niri/config.kdl
···
// https://yalter.github.io/niri/Configuration:-Window-Rules
window-rule {
-
match app-id=r#"^org\.wezfurlong\.wezterm$"#
-
default-column-width {}
+
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
+
open-floating true
+
}
+
window-rule {
+
match app-id=r#"firefox$"#
+
open-maximized true
+
}
+
window-rule {
+
match app-id=r#"discord$"#
+
open-maximized true
+
block-out-from "screen-capture"
}
-
window-rule {
-
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
-
open-floating true
+
match app-id=r#"jetbrains-idea$"#
+
open-maximized true
}
-
-
-
// Example: block out two password managers from screen capture.
-
// (This example rule is commented out with a "/-" in front.)
-
/-window-rule {
+
window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
-
match app-id=r#"^org\.gnome\.World\.Secrets$"#
-
block-out-from "screen-capture"
-
-
// Use this instead if you want them visible on third-party screenshot tools.
-
// block-out-from "screencast"
}
window-rule {