diff --git a/private_dot_config/niri/config.kdl b/private_dot_config/niri/config.kdl index 570a75f..df31234 100644 --- a/private_dot_config/niri/config.kdl +++ b/private_dot_config/niri/config.kdl @@ -407,7 +407,7 @@ layout { //spawn-at-startup "waybar" spawn-at-startup "swaybg" "-i" "images/wallpapers/wallhaven-yxzmog-interstellar.png" spawn-at-startup "swayidle" "-w" -spawn-at-startup "wlsunset" "-l" "48.4" "-L" "6.1" +spawn-at-startup "wlsunset" "-l" "48.6" "-L" "6.1" // Uncomment this line to ask the clients to omit their client-side decorations if possible. // If the client will specifically ask for CSD, the request will be honored. @@ -455,6 +455,13 @@ window-rule { // - 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 +} + +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-nightly$"# title="^Picture-in-Picture$" open-floating true } @@ -467,15 +474,9 @@ window-rule { open-maximized true } -window-rule { - match app-id=r#"org.freedesktop.Xwayland$"# - open-floating true - open-fullscreen true -} - // Example: block out two password managers from screen capture. // (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\.gnome\.World\.Secrets$"#