Update river background color after rebuild

This commit is contained in:
Jan-Bulthuis 2024-12-02 00:52:01 +01:00
parent 5f6f793979
commit dc77d948e6
1 changed files with 5 additions and 1 deletions

View File

@ -34,6 +34,10 @@ in
river river
''; '';
modules.desktop.reloadScript = ''
${pkgs.river}/bin/riverctl background-color 0x${config.theming.colors.bg}
'';
# Update background after rebuild # Update background after rebuild
# home.activation = { # home.activation = {
# river = lib.hm.dag.entryBetween [ "reloadSystemd" ] [ "installPackages" ] '' # river = lib.hm.dag.entryBetween [ "reloadSystemd" ] [ "installPackages" ] ''
@ -104,7 +108,7 @@ in
spawn = [ spawn = [
"\"${layout} ${layoutOptions}\"" "\"${layout} ${layoutOptions}\""
"waybar" "waybar" # TODO: Decouple
"\"glpaper eDP-1 ${toString config.modules.glpaper.shader}\"" "\"glpaper eDP-1 ${toString config.modules.glpaper.shader}\""
]; ];
map = ( map = (