mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +10:00
Adding window rules for Brave browser.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user