diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-12-27 14:16:56 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-12-27 14:16:56 +0100 |
commit | ae679d33f6d812fd16049e5c06139d309386c38d (patch) | |
tree | e6ac205753fbf05253e6d0149d938ce484e00936 /pkgs/greybird-xfce-theme | |
parent | f91a6f17f81133b1782c6484c91ada7afa7dfbc2 (diff) |
labnet/labtop: Move Greybird XFCE theme into pkgs/
We're going to use it for another machine, so it makes sense to put it inside the pkgs.vuizvui namespace to be available for all machines. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
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 + ''; +} |