repositories / dotfiles
dotfiles
bugabingas dorkfiles
owned by bugabinga
niri/cfg/rules.kdl
Rawprefer-no-csd true
window-rule {
geometry-corner-radius 20
clip-to-geometry true
}
window-rule {
match app-id="aerc"
open-on-workspace "browser"
default-column-width {
proportion 0.5
}
}
window-rule {
match app-id="org.wezfurlong.wezterm"
open-on-workspace "code"
}
window-rule {
match app-id="jetbrains-idea"
open-floating true
open-maximized false
open-on-workspace "code"
}
window-rule {
match app-id=r#"(?i)(java|javafx|jdk|openjdk|jetbrains|sun-awt|awt|swing)"#
open-floating true
open-maximized false
}
window-rule {
match app-id="neovide"
open-on-workspace "code"
}
window-rule {
match app-id=r#"^neovide_diff$"#
open-maximized true
}
window-rule {
match app-id="dev.zed.Zed"
open-on-workspace "code"
}
window-rule {
match app-id=r#"^pi-firefox-debug$"#
open-on-workspace "code"
open-maximized false
default-column-width {
proportion 0.5
}
}
window-rule {
match app-id=r#"^firefox$"#
exclude title="^Extension:.*$"
open-on-workspace "browser"
open-maximized true
}
// Open the Firefox picture-in-picture window as floating with 480×270 size.
window-rule {
match app-id="firefox$" title="^Picture-in-Picture$"
open-floating true
open-maximized false
default-column-width {
fixed 480
}
default-window-height {
fixed 270
}
}
window-rule {
match app-id="firefox" title="^Extension:.*$"
open-maximized false
open-floating true
baba-is-float true
default-column-width {
fixed 480
}
default-window-height {
fixed 270
}
shadow {
on
}
}
// Give Blender and GIMP some guaranteed width on opening.
window-rule {
match app-id="^blender$"
// GIMP app ID contains the version like "gimp-2.99",
// so we only match the beginning (with ^) and not the end.
match app-id="^gimp"
default-column-width {
fixed 1200
}
}
window-rule {
match app-id="Bitwarden"
open-on-workspace "vault"
}
window-rule {
match app-id="mpv"
open-on-workspace "media"
}
window-rule {
match app-id="steam"
open-on-workspace "games"
}
window-rule {
match app-id="^steam_app_\\d+$"
open-on-workspace "games"
}
window-rule {
match app-id="steam_app_default"
open-on-workspace "games"
}
window-rule {
match app-id="steam" title="^notificationtoasts_\\d+_desktop$"
default-floating-position x=10 y=10 relative-to="bottom-right"
}
window-rule {
match app-id="net.lutris.Lutris"
open-on-workspace "games"
}
window-rule {
match title="Battle.net"
open-floating true
open-on-workspace "games"
}
window-rule {
match app-id="steam" title="Friends List"
open-floating true
}
layer-rule {
match namespace="^noctalia-wallpaper*"
place-within-backdrop true
}
// Block out mako notifications from screencasts.
layer-rule {
match namespace="^notifications$"
block-out-from "screencast"
}