commit 926d6c4ed3c1c82fcb710783e5ef06715b1e7321
parent ca957b68c8608682076b2322ca0ccad2510affd2
Author: Leah (ctucx) <git@ctu.cx>
Date: Fri, 15 Nov 2024 17:38:07 +0100
parent ca957b68c8608682076b2322ca0ccad2510affd2
Author: Leah (ctucx) <git@ctu.cx>
Date: Fri, 15 Nov 2024 17:38:07 +0100
pkgs: add `adwaita-colors`
2 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/pkgs/adwaita-colors.nix b/pkgs/adwaita-colors.nix @@ -0,0 +1,35 @@ +{ lib, stdenvNoCC, fetchFromGitHub, gtk3, xdg-utils, }: + +stdenvNoCC.mkDerivation rec { + pname = "adwaita-colors-icon-theme"; + version = "2.3"; + + src = fetchFromGitHub { + owner = "dpejoh"; + repo = "Adwaita-colors"; + rev = "v${version}"; + hash = "sha256-q7qvE55vtd8K0T+VQKJ0Qa/qIPToRh3xU1wLjyW68nQ="; + }; + + nativeBuildInputs = [ + gtk3 + xdg-utils + ]; + + installPhase = '' + runHook preInstall + + install -d $out/share/icons + cp -r Adwaita-* $out/share/icons/ + gtk-update-icon-cache -f -t $out/share/icons/Adwaita* && xdg-desktop-menu forceupdate + + runHook postInstall + ''; + + meta = with lib; { + description = "Adwaita Colors customizes Adwaita icons to match your GNOME theme's accent color, providing a cohesive, personalized look."; + homepage = "https://github.com/dpejoh/Adwaita-colors"; + license = with licenses; [ gpl3Only ]; + platforms = platforms.linux; + }; +}+ \ No newline at end of file
diff --git a/pkgs/overlay.nix b/pkgs/overlay.nix @@ -10,6 +10,8 @@ final: prev: ]; }); + adwaita-colors-icon-theme = final.callPackage ./adwaita-colors.nix {}; + phockup = final.callPackage ./phockup.nix {}; gotosocial = final.callPackage ./gotosocial {}; AirSane = final.callPackage ./AirSane {};