diff options
author | Seong Yong-ju <sei40kr@gmail.com> | 2022-01-21 01:53:04 +0900 |
---|---|---|
committer | Seong Yong-ju <sei40kr@gmail.com> | 2022-01-24 20:55:01 +0900 |
commit | b3e385753b0ff04c1190961aff540f7f1e694d2d (patch) | |
tree | cd141a3bfc10dc5670901750fb7f8941193e671d /pkgs/data/themes | |
parent | a6785fe0574f3a52c1b33adc1bb43b9356e84ce7 (diff) | |
download | nixpkgs-b3e385753b0ff04c1190961aff540f7f1e694d2d.tar nixpkgs-b3e385753b0ff04c1190961aff540f7f1e694d2d.tar.gz nixpkgs-b3e385753b0ff04c1190961aff540f7f1e694d2d.tar.bz2 nixpkgs-b3e385753b0ff04c1190961aff540f7f1e694d2d.tar.lz nixpkgs-b3e385753b0ff04c1190961aff540f7f1e694d2d.tar.xz nixpkgs-b3e385753b0ff04c1190961aff540f7f1e694d2d.tar.zst nixpkgs-b3e385753b0ff04c1190961aff540f7f1e694d2d.zip |
orchis-theme: add withWallpapers option
Diffstat (limited to 'pkgs/data/themes')
-rw-r--r-- | pkgs/data/themes/orchis-theme/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/data/themes/orchis-theme/default.nix b/pkgs/data/themes/orchis-theme/default.nix index ef7f88e3e95..666166e0a9d 100644 --- a/pkgs/data/themes/orchis-theme/default.nix +++ b/pkgs/data/themes/orchis-theme/default.nix @@ -6,6 +6,7 @@ , gtk-engine-murrine , sassc , tweaks ? [ ] # can be "solid" "compact" "black" "primary" +, withWallpapers ? false }: let @@ -42,6 +43,10 @@ rec { installPhase = '' runHook preInstall 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 ''; |