diff options
Diffstat (limited to 'pkgs/greybird-xfce-theme')
-rw-r--r-- | pkgs/greybird-xfce-theme/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/greybird-xfce-theme/default.nix b/pkgs/greybird-xfce-theme/default.nix new file mode 100644 index 00000000..80b26e85 --- /dev/null +++ b/pkgs/greybird-xfce-theme/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation { + name = "greybird-xfce-theme"; + + src = fetchFromGitHub { + repo = "Greybird"; + owner = "shimmerproject"; + rev = "d0a50a8ea75f11d668229287e83189ef038a56f0"; + sha256 = "08lf39qbx85ldxfh4qyj9fd42mbsg3vs2r0bg1csl6qx13lffiay"; + }; + + phases = [ "unpackPhase" "installPhase" ]; + + installPhase = '' + mkdir -p "$out/share/themes/Greybird" + cp -vrt "$out/share/themes/Greybird" \ + gtk-* metacity-1 unity xfce-notify-4.0 xfwm4 + + for i in a11y compact; do + outdir="$out/share/themes/Greybird-$i/xfwm4" + mkdir -p "$outdir" + cp -vrt "$outdir" xfwm4-$i/* + done + ''; +} |