From 113601e64919257f2c4606f56f5f450b31975034 Mon Sep 17 00:00:00 2001 From: elwrcl Date: Sat, 3 Oct 2026 04:37:29 +0300 Subject: [PATCH] valw: overview backdrop and window picker --- flake.lock | 4 ++-- modules/home/home-noctalia.ulu.nix | 3 ++- modules/home/niri/desktop-niri-execs.ulu.nix | 2 ++ modules/home/niri/desktop-niri-general.ulu.nix | 6 ++++++ 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index fe05fd8..9d598b8 100755 --- a/flake.lock +++ b/flake.lock @@ -720,8 +720,8 @@ ] }, "locked": { - "lastModified": 1790991298, - "narHash": "sha256-wRzf+LZhsANpL9NeK8WR3HvupwcgoJdSf6Fho0Tkw7k=", + "lastModified": 1791067497, + "narHash": "sha256-NZFD6YvMg3CY6b8ESUU6Ad2Xl6EIB/a5GKLyaAv0eG0=", "path": "/home/elars/Projects/valw", "type": "path" }, diff --git a/modules/home/home-noctalia.ulu.nix b/modules/home/home-noctalia.ulu.nix index e66fcb0..bd82b49 100644 --- a/modules/home/home-noctalia.ulu.nix +++ b/modules/home/home-noctalia.ulu.nix @@ -31,7 +31,8 @@ }; backdrop = { - enabled = true; + # valw draws the overview backdrop now (valw backdrop). + enabled = false; blur_intensity = 0.46; tint_intensity = 0.25; }; diff --git a/modules/home/niri/desktop-niri-execs.ulu.nix b/modules/home/niri/desktop-niri-execs.ulu.nix index 93da118..079ff3f 100644 --- a/modules/home/niri/desktop-niri-execs.ulu.nix +++ b/modules/home/niri/desktop-niri-execs.ulu.nix @@ -7,6 +7,8 @@ "prefer-no-csd" = true; spawn-at-startup = [ { command = [ "noctalia" ]; } + # valw's paint shader behind the overview (see the layer rule). + { command = [ "valw" "backdrop" ]; } ]; }; }; diff --git a/modules/home/niri/desktop-niri-general.ulu.nix b/modules/home/niri/desktop-niri-general.ulu.nix index e9af445..753c764 100644 --- a/modules/home/niri/desktop-niri-general.ulu.nix +++ b/modules/home/niri/desktop-niri-general.ulu.nix @@ -79,6 +79,12 @@ ]; place-within-backdrop = true; } + { + matches = [ + { namespace = "^valw-backdrop$"; } + ]; + place-within-backdrop = true; + } ]; }; };