niri
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
// https://yalter.github.io/niri/Configuration:-Input
|
// https://yalter.github.io/niri/Configuration:-Input
|
||||||
|
|
||||||
prefer-no-csd
|
prefer-no-csd
|
||||||
|
|
||||||
|
environment
|
||||||
input {
|
input {
|
||||||
keyboard {
|
keyboard {
|
||||||
xkb {
|
xkb {
|
||||||
@@ -261,8 +263,9 @@ window-rule {
|
|||||||
// This regular expression is intentionally made as specific as possible,
|
// This regular expression is intentionally made as specific as possible,
|
||||||
// since this is the default config, and we want no false positives.
|
// since this is the default config, and we want no false positives.
|
||||||
// You can get away with just app-id="wezterm" if you want.
|
// You can get away with just app-id="wezterm" if you want.
|
||||||
match app-id=r#"^org\.wezfurlong\.wezterm$"#
|
match app-id=r"^org\.wezfurlong\.wezterm$"
|
||||||
default-column-width {}
|
default-column-width {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Open the Firefox picture-in-picture player as floating by default.
|
// 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:
|
// This app-id regular expression will work for both:
|
||||||
// - host Firefox (app-id is "firefox")
|
// - host Firefox (app-id is "firefox")
|
||||||
// - Flatpak Firefox (app-id is "org.mozilla.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
|
open-floating true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Example: block out two password managers from screen capture.
|
// Example: block out two password managers from screen capture.
|
||||||
// (This example rule is commented out with a "/-" in front.)
|
// (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\.keepassxc\.KeePassXC$"
|
||||||
match app-id=r#"^org\.gnome\.World\.Secrets$"#
|
match app-id=r"^org\.gnome\.World\.Secrets$"
|
||||||
|
|
||||||
block-out-from "screen-capture"
|
block-out-from "screen-capture"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user