Adding window rules for Brave browser.

This commit is contained in:
Derek Taylor
2026-01-16 16:15:22 -06:00
parent d44c33b6fc
commit 38b05fc52a

View File

@@ -276,6 +276,8 @@ layout {
// This line starts waybar, a commonly used bar for Wayland compositors.
//spawn-at-startup "kanshi"
spawn-at-startup "swayidle" "-w" \
"timeout" "600" "niri msg action power-off-monitors"
spawn-at-startup "xwayland-satellite"
spawn-at-startup "waypaper" "--backend" "swaybg" "--restore"
spawn-at-startup "waybar"
@@ -335,8 +337,8 @@ 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$"
open-floating true
match app-id=r#"brave-browser$"#
open-maximized true
}
window-rule {