This commit is contained in:
2026-11-04 16:20:17 +01:00
parent 7818e6310f
commit 5f4de5e60c
+8 -5
View File
@@ -8,6 +8,8 @@
// https://yalter.github.io/niri/Configuration:-Input
prefer-no-csd
environment
input {
keyboard {
xkb {
@@ -261,8 +263,9 @@ window-rule {
// This regular expression is intentionally made as specific as possible,
// since this is the default config, and we want no false positives.
// You can get away with just app-id="wezterm" if you want.
match app-id=r#"^org\.wezfurlong\.wezterm$"#
default-column-width {}
match app-id=r"^org\.wezfurlong\.wezterm$"
default-column-width {
}
}
// Open the Firefox picture-in-picture player as floating by default.
@@ -270,15 +273,15 @@ window-rule {
// This app-id regular expression will work for both:
// - host Firefox (app-id is "firefox")
// - Flatpak Firefox (app-id is "org.mozilla.firefox")
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
match app-id=r"firefox$" title="^Picture-in-Picture$"
open-floating true
}
// Example: block out two password managers from screen capture.
// (This example rule is commented out with a "/-" in front.)
/-window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"#
match app-id=r"^org\.keepassxc\.KeePassXC$"
match app-id=r"^org\.gnome\.World\.Secrets$"
block-out-from "screen-capture"