From dc77d948e6d2d5c586550e96fa34bb77eafa8682 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Mon, 2 Dec 2024 00:52:01 +0100 Subject: [PATCH] Update river background color after rebuild --- modules/users/modules/desktop/window-manager/river.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/users/modules/desktop/window-manager/river.nix b/modules/users/modules/desktop/window-manager/river.nix index 7c937a2..9a5834a 100644 --- a/modules/users/modules/desktop/window-manager/river.nix +++ b/modules/users/modules/desktop/window-manager/river.nix @@ -34,6 +34,10 @@ in river ''; + modules.desktop.reloadScript = '' + ${pkgs.river}/bin/riverctl background-color 0x${config.theming.colors.bg} + ''; + # Update background after rebuild # home.activation = { # river = lib.hm.dag.entryBetween [ "reloadSystemd" ] [ "installPackages" ] '' @@ -104,7 +108,7 @@ in spawn = [ "\"${layout} ${layoutOptions}\"" - "waybar" + "waybar" # TODO: Decouple "\"glpaper eDP-1 ${toString config.modules.glpaper.shader}\"" ]; map = (