From 3498dfd2b7f491693df14816825cc73366b73897 Mon Sep 17 00:00:00 2001 From: Myned Date: Thu, 20 Feb 2025 20:11:37 -0600 Subject: [PATCH] niri: add rules Signed-off-by: Myned --- options/custom/desktops/niri/rules.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/options/custom/desktops/niri/rules.nix b/options/custom/desktops/niri/rules.nix index 88ff302..22103e5 100644 --- a/options/custom/desktops/niri/rules.nix +++ b/options/custom/desktops/niri/rules.nix @@ -124,6 +124,7 @@ in { matches = [ {app-id = "^codium$";} {app-id = "^obsidian$";} + {app-id = "^org\.gnome\.TextEditor$";} ]; open-floating = false; @@ -156,11 +157,8 @@ in { { # Media matches = [ - { - app-id = "^org\.gnome\.Loupe$"; - title = "wallpaper.png"; - } - + {app-id = "^com\.github\.th_ch\.youtube_music$";} + {app-id = "^org\.gnome\.Loupe$";} {app-id = "^Spotify$";} {app-id = "^totem$";} {app-id = "^YouTube Music$";} @@ -205,6 +203,15 @@ in { open-focused = false; }) + { + # Steam + matches = [ + {app-id = "^steam$";} + ]; + + open-floating = false; + } + { # Terminals matches = [ @@ -233,7 +240,7 @@ in { {app-id = "^(sdl-|wl|x)freerdp$";} {app-id = "^looking-glass-client$";} {app-id = "^org\.remmina\.Remmina$";} - {app-id = "^virt-manager$";} + {app-id = "^.*virt-manager.*$";} ]; open-floating = false;