From 765b46f831d306ec6dcf565caace5c617478f523 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 20 Oct 2026 13:26:02 -0400 Subject: [PATCH] make walker use system theme --- clients/quadraticpc/fht-compositor/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/clients/quadraticpc/fht-compositor/default.nix b/clients/quadraticpc/fht-compositor/default.nix index d084a62..f37067d 100644 --- a/clients/quadraticpc/fht-compositor/default.nix +++ b/clients/quadraticpc/fht-compositor/default.nix @@ -40,8 +40,15 @@ in # Take keyboard focus when opened, so you can type into the search straight away environment.etc."xdg/walker/config.toml".source = (pkgs.formats.toml { }).generate "walker.toml" { force_keyboard_focus = true; + theme = "system"; }; + # The default theme, minus its hardcoded @define-color palette, so the GTK theme's colors show through + environment.etc."xdg/walker/themes/system/style.css".source = + pkgs.runCommand "walker-system-style.css" { } '' + sed '/^@define-color/d' ${pkgs.walker.src}/resources/themes/default/style.css > $out + ''; + environment.etc.${filename}.source = (pkgs.formats.toml { }).generate "config.toml" { autostart = [ session-programs ]; @@ -149,7 +156,6 @@ in patches = (old.patches or [ ]) ++ [ ./resize-tiled-windows.patch ./lone-modifier.patch - ./scroll-accumulation.patch ]; nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.makeWrapper ];