diff options
author | Adrian Kummerlaender | 2018-04-24 19:55:23 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2018-04-24 19:55:23 +0200 |
commit | f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776 (patch) | |
tree | 65e86d1d1ac44aca241ed716655cf8224d2d3dde | |
parent | c88716541afe1b9eed807c8073f21b4dae31dac2 (diff) | |
download | nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar.gz nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar.bz2 nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar.lz nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar.xz nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.tar.zst nixos_home-f5db61e34dde4cc36b0cdaa33ed1b6e23e9ad776.zip |
Add oomox-archdroid-icon-theme derivation
-rw-r--r-- | home.nix | 9 | ||||
-rw-r--r-- | pkgs/oomox-archdroid-icon-theme.nix | 29 | ||||
-rw-r--r-- | pkgs/oomox-gtk-theme.nix | 2 |
3 files changed, 39 insertions, 1 deletions
@@ -111,6 +111,15 @@ package = oomox-gtk-theme; }; + iconTheme = let + oomox-archdroid-icon-theme = pkgs.callPackage ./pkgs/oomox-archdroid-icon-theme.nix { + color = "909737"; + }; + in { + name = "oomox-archdroid"; + package = oomox-archdroid-icon-theme; + }; + gtk2.extraConfig = '' style "vimfix" { bg[NORMAL] = "#161616" } widget "vim-main-window.*GtkForm" style "vimfix" diff --git a/pkgs/oomox-archdroid-icon-theme.nix b/pkgs/oomox-archdroid-icon-theme.nix new file mode 100644 index 0000000..764bf2f --- /dev/null +++ b/pkgs/oomox-archdroid-icon-theme.nix @@ -0,0 +1,29 @@ +{ stdenv, pkgs, color, ... }: + +stdenv.mkDerivation rec { + name = "oomox-archdroid-icon-theme"; + + src = pkgs.fetchFromGitHub { + repo = "archdroid-icon-theme"; + owner = "themix-project"; + rev = "6dc4c92689ea2ce99534d6f461283efdf8ffd270"; + sha256 = "073iwaamzrmj0l6h4gzmbnmazq16lgpc027mr3l778b35qwwraq5"; + }; + + postPatch = '' + patchShebangs . + ''; + + installPhase = '' + HOME="$out/share/icons" + sed -i "66s/\.icons\///" change_color.sh + ./change_color.sh --output oomox-archdroid --color ${color} + ''; + + meta = { + description = "oomox-archdroid-icon-theme is a customizable fork of archdroid-icon-theme"; + homepage = https://github.com/themix-project/archdroid-icon-theme; + license = stdenv.lib.licenses.gpl3; + platforms = stdenv.lib.platforms.all; + }; +} diff --git a/pkgs/oomox-gtk-theme.nix b/pkgs/oomox-gtk-theme.nix index 237c11a..aa393a9 100644 --- a/pkgs/oomox-gtk-theme.nix +++ b/pkgs/oomox-gtk-theme.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { ''; meta = { - description = "oomox-gtk-theme is a customizable fork of Numix-gtk-theme."; + description = "oomox-gtk-theme is a customizable fork of numix-gtk-theme."; homepage = https://github.com/themix-project/oomox-gtk-theme; license = stdenv.lib.licenses.gpl3; platforms = stdenv.lib.platforms.all; |