Files
dotfiles/niri/rules.kdl
T

131 lines
2.8 KiB
KDL
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
window-rule {
match is-active=false
opacity 0.9
}
window-rule {
match app-id=r#"firefox$"#
match app-id=r#"zen$"#
// default-column-width { fixed 1920; }
default-window-height { proportion 1.0; }
}
window-rule {
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
match app-id=r#"zen$"# title="^Picture-in-Picture$"
open-floating true
default-column-width { proportion 0.5; }
default-column-display "tabbed"
opacity 1.0
}
// window-rule {
// match app-id="superProductivity"
// default-column-width { proportion 1.0; }
// default-window-height { proportion 0.33; }
// open-on-output "Dell Inc. DELL P2417H CW6Y78814R0B"
// }
window-rule {
match app-id="Plex"
open-on-output "BOE 0x0B7D Unknown"
default-column-width { proportion 1.0; }
opacity 1.0
}
window-rule {
match app-id="org.telegram.desktop"
default-column-width { fixed 1280; }
default-window-height { proportion 0.66; }
open-floating true
}
window-rule {
match app-id="org.gnome.Terminal"
match app-id="Alacritty"
default-column-width { fixed 1280; }
default-window-height { proportion 0.66; }
open-floating true
}
window-rule {
match is-window-cast-target=true
focus-ring { off; }
border {
active-color "#f38ba8"
inactive-color "#7d0d2d"
width 4
on
}
shadow { color "#7d0d2d70"; }
tab-indicator {
active-color "#f38ba8"
inactive-color "#7d0d2d"
}
}
window-rule {
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
match app-id=r#"^org\.gnome\.World\.Secrets$"#
match app-id="org.telegram.desktop"
match app-id="superproductivity-bin"
match title="Microsoft Teams"
match title="Outlook"
match title="Bitwarden"
match title="Google Messages"
match title="Proton"
match app-id="org.mozilla.Thunderbird"
match app-id="org.mozilla.thunderbird_esr"
match app-id="net.thunderbird.Thunderbird"
match app-id="discord"
match app-id="com.slack.Slack"
match app-id="gcr-prompter"
block-out-from "screen-capture"
}
layer-rule {
match namespace="notification"
block-out-from "screen-capture"
}
window-rule {
match app-id=r#"^org\.gnome\."#
draw-border-with-background false
geometry-corner-radius 12
clip-to-geometry true
}
window-rule {
match app-id="Ulauncher"
open-floating true
focus-ring { off; }
}
window-rule {
geometry-corner-radius 12
clip-to-geometry true
}
window-rule {
match app-id="org.gnome.Nautilus"
match app-id="org.gnome.Evince"
match title="Settings"
// match app-id="app.zen_browser.zen"
match title="Star Citizen LUG Helper"
default-column-width { fixed 960; }
}
window-rule {
match app-id="explorer.exe"
open-fullscreen true
geometry-corner-radius 0
}