From d86698f6018c70bd1ace2e96f294021ed04d49bb Mon Sep 17 00:00:00 2001 From: pips Date: Fri, 28 Mar 2025 20:22:34 +0100 Subject: [PATCH 1/3] fix(wlsunset): home coordinates --- private_dot_config/niri/config.kdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private_dot_config/niri/config.kdl b/private_dot_config/niri/config.kdl index df31234..e558b59 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.6" "-L" "6.1" +spawn-at-startup "wlsunset" "-l" "48.4" "-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. From c919bebd8ad8e842df2d60d760face8cf353d4e4 Mon Sep 17 00:00:00 2001 From: pips Date: Fri, 28 Mar 2025 20:23:06 +0100 Subject: [PATCH 2/3] feat(niri): block screen-capture for sensitive apps --- private_dot_config/niri/config.kdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private_dot_config/niri/config.kdl b/private_dot_config/niri/config.kdl index e558b59..6719050 100644 --- a/private_dot_config/niri/config.kdl +++ b/private_dot_config/niri/config.kdl @@ -476,7 +476,7 @@ window-rule { // 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$"# From 91075778f65b9544f5eeeebb9763fffb53b85043 Mon Sep 17 00:00:00 2001 From: pips Date: Fri, 28 Mar 2025 20:56:34 +0100 Subject: [PATCH 3/3] feat(niri): group window rules --- private_dot_config/niri/config.kdl | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/private_dot_config/niri/config.kdl b/private_dot_config/niri/config.kdl index 6719050..570a75f 100644 --- a/private_dot_config/niri/config.kdl +++ b/private_dot_config/niri/config.kdl @@ -455,13 +455,6 @@ 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 } @@ -474,6 +467,12 @@ 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 {