diff --git a/core/internal/config/embedded/hyprland.conf b/core/internal/config/embedded/hyprland.conf index 9407f653..2e0840b5 100644 --- a/core/internal/config/embedded/hyprland.conf +++ b/core/internal/config/embedded/hyprland.conf @@ -98,9 +98,11 @@ windowrule = float on, match:class ^(gnome-calculator)$ windowrule = float on, match:class ^(galculator)$ windowrule = float on, match:class ^(blueman-manager)$ windowrule = float on, match:class ^(org\.gnome\.Nautilus)$ -windowrule = float on, match:class ^(steam)$ windowrule = float on, match:class ^(xdg-desktop-portal)$ +windowrule = noinitialfocus on, match:class ^(steam)$, match:title ^(notificationtoasts) +windowrule = pin on, match:class ^(steam)$, match:title ^(notificationtoasts) + windowrule = float on, match:class ^(firefox)$, match:title ^(Picture-in-Picture)$ windowrule = float on, match:class ^(zoom)$ diff --git a/core/internal/config/embedded/niri.kdl b/core/internal/config/embedded/niri.kdl index 36c17001..6a7df4a6 100644 --- a/core/internal/config/embedded/niri.kdl +++ b/core/internal/config/embedded/niri.kdl @@ -228,10 +228,14 @@ window-rule { match app-id=r#"^galculator$"# match app-id=r#"^blueman-manager$"# match app-id=r#"^org\.gnome\.Nautilus$"# - match app-id=r#"^steam$"# match app-id=r#"^xdg-desktop-portal$"# open-floating true } +window-rule { + match app-id=r#"^steam$"# title=r#"^notificationtoasts_\d+_desktop$"# + default-floating-position x=10 y=10 relative-to="bottom-right" + open-focused false +} window-rule { match app-id=r#"^org\.wezfurlong\.wezterm$"# match app-id="Alacritty"