add wallpaper that gets recolored v2 and actually works now
This commit is contained in:
parent
09426f911b
commit
81e47e6467
2 changed files with 19 additions and 15 deletions
|
|
@ -1,10 +1,15 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
palette = lib.strings.removePrefix "${pkgs.base16-schemes}/share/themes/" "${config.stylix.base16Scheme
|
||||
}";
|
||||
cleanPalette = lib.strings.removeSuffix ".yaml" "${palette}";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./stylix.nix
|
||||
|
|
@ -23,6 +28,9 @@
|
|||
home.homeDirectory = "/home/lucy";
|
||||
home.stateVersion = "26.05";
|
||||
home.activation = {
|
||||
wallpaper = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
${lib.getExe pkgs.lutgen} apply ${config.stylix.image} -p ${cleanPalette} -o ~/.walls/a.png
|
||||
'';
|
||||
reload-quickshell =
|
||||
lib.hm.dag.entryAfter
|
||||
[
|
||||
|
|
@ -30,6 +38,8 @@
|
|||
]
|
||||
''
|
||||
${lib.getExe pkgs.quickshell} ipc call config reload true
|
||||
${lib.getExe pkgs.quickshell} ipc call config setWall ~/.walls/a.png
|
||||
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue