From b4d319016781efaa08186c5c270c134b56b1fe81 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 18 Jul 2024 11:02:07 -0400 Subject: [PATCH] stylix: Dynamically generate wallpaper from color scheme Fixes an issue where previously the background color would be incorrect when the color scheme was changed, which was particularly noticeable on Phosh where the background would display when toggling the on-screen keyboard. Note that the logo has been intentionally left out this time to simplify things a bit. --- assets/wallpaper.png | Bin 29992 -> 0 bytes modules/desktop.nix | 21 +++++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) delete mode 100644 assets/wallpaper.png diff --git a/assets/wallpaper.png b/assets/wallpaper.png deleted file mode 100644 index bfb8d48d0a0d4321351319c9bd41005a1a342c2e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 29992 zcmeEu=UZsQtIS+;%{8;~;jx1B$>SG~BM^v_G7s-7BM=m? z5Qx8pjvj*Fm}IM;M<6aCWbWTpb&gpWa{1J?;W4u^(r4`R`YHX#sJqoCsh_u9xD$3Q zom#%LD5rmYHYC}ypHF~w*3Q~GdSH0qdP|cfdb8MUFvK)5xu)|1`lwZWjmL+?D?G1q zZj}76n2y=4MV$4&QMKKe%A2L}=vS5SNQ()9*Ba%iIOlaPNCswsK*V>pPwJE3y(*V^ z^$+RYB`?HD((9e0e_bTKzB+w~kMxST{I@Cj_1@7|@~hYB_`gVRj$XcVnDl!3-oFF< zy9fW;!N0!nFCP4hiT}n05)S-p2mkKDzjp91PyClFBM|=|?!gtEr6UN$jA;3KB+6kj zobtGLB|$?uwez*L&mW=5*-S+dGU?`_9C&eDLk`} zL}C?^lxN|SLQ4CrJ=+F-#Y4vR9yfz|!hN>zIRZv?ZgJ#c$RF#96=XSapWbzC`i0dC zLP^E0&zY+a{;X}|*9fX?`Q|;DSsshgDHsJrWntX@r7l5*t9*u6ZfU!E=j6O(3d2mLp9HVX_?N2v z&Pfg3?LEqhrG*85&0~mH1Xf=AnNeFD0`Y@FpDS{AjeF0i<)W2b!>8#uH^;?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%A;p@c2)z};hGqd|~69&P-Wrh}zjfGxu;IGu_;3O$3 zdRG1{`dn^4&nSTF@>uwz=X-ZqpT<113CMbVwh`jdgBcwwp#@U^ZU}5(&8nj3q zYH-TGpy$M9q!#Z(@-=tcZ}3-re|N>&1biqnjD;?|>nI{(Vtz}NbKsr8CU6tv=Qo#<_Funjvk||@FK0Ln|z+{O*l{g8r?}uCA`UxlFy{;Dv;U znp879UNw0D+O-xr`f+B5!5DhN83kyzI-X#4^j29$M!;Z95ygT{*6ZMq?YWDvXUl9y zUQ;d#N`*RW2TbJ|&O$o@!_whf9fiR!LxKZJc3uOSXYbVyLw03PU&r5dEcP24>g;?3 z3mG!a7iPz%BM~Y2m1Quew}MMt?9&r9*xZEB7(t|JesCvuz@!7b!ideXRh5+?=aZm| z5!p2xXzhY;7yMw{@6ho0P1h|}~CyFGh%PWyR4ikDC zi9MjcLK?~KFqm_KNYsVFY=g$5@LBos%41m>4lC1OWpzMi!OE(*vRNR*U}ckB2@YTw c{IfCBsw5rFs;TkS>BtB?X<&Mciamex-%Y?dJOBUy diff --git a/modules/desktop.nix b/modules/desktop.nix index a80696a5..1b2e3c4e 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -4,11 +4,28 @@ let inherit (lib) mkEnableOption mkIf mkMerge mkOption; inherit (lib.types) float int; inherit (config.modules.system) username; + inherit (config.lib.stylix.colors) base00; inherit (cfg) bloat gnome plasma container opacity fontSize graphical; inherit (nix-config.packages.${pkgs.system}) aleo-fonts; - inherit (pkgs) phinger-cursors noto-fonts-cjk-sans maple-mono noto-fonts-emoji; + inherit (pkgs) phinger-cursors noto-fonts-cjk-sans maple-mono noto-fonts-emoji stdenvNoCC imagemagick; inherit (builtins) attrValues; + stylix-background = stdenvNoCC.mkDerivation { + pname = "stylix-background"; + version = base00; + + dontUnpack = true; + + nativeBuildInputs = [ + imagemagick + ]; + + postInstall = '' + mkdir -p $out + magick -size 1x1 xc:#${base00} $out/wallpaper.png + ''; + }; + cfg = config.modules.desktop; in { @@ -170,7 +187,7 @@ in stylix = { enable = true; - image = ../assets/wallpaper.png; + image = "${stylix-background}/wallpaper.png"; polarity = "dark"; base16Scheme = ../assets/selenized-black.yaml;