orchis-theme: add withWallpapers option
This commit is contained in:
parent
a6785fe057
commit
b3e385753b
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
, gtk-engine-murrine
|
, gtk-engine-murrine
|
||||||
, sassc
|
, sassc
|
||||||
, tweaks ? [ ] # can be "solid" "compact" "black" "primary"
|
, tweaks ? [ ] # can be "solid" "compact" "black" "primary"
|
||||||
|
, withWallpapers ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -42,6 +43,10 @@ rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
bash install.sh -d $out/share/themes -t all ${lib.optionalString (tweaks != []) "--tweaks " + builtins.toString tweaks}
|
bash install.sh -d $out/share/themes -t all ${lib.optionalString (tweaks != []) "--tweaks " + builtins.toString tweaks}
|
||||||
|
${lib.optionalString withWallpapers ''
|
||||||
|
mkdir -p $out/share/backgrounds
|
||||||
|
cp src/wallpaper/{1080p,2k,4k}.jpg $out/share/backgrounds
|
||||||
|
''}
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue