swtich to papirus

This commit is contained in:
Adithya 2023-10-16 23:30:11 +05:30
parent 53b17694d3
commit 5f04ddde54
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
4 changed files with 3 additions and 61 deletions

View file

@ -9,10 +9,8 @@
}; };
iconTheme = { iconTheme = {
name = "Newaita-reborn"; name = "Papirus-Dark";
package = pkgs.newaita-reborn.override { package = pkgs.papirus-icon-theme.override {color = "black";};
flavour = "dracula";
};
}; };
cursorTheme = { cursorTheme = {

View file

@ -1,7 +1,6 @@
self: super: { self: super: {
adi1090x-plymouth = super.callPackage ./adi1090x-plymouth {}; adi1090x-plymouth = super.callPackage ./adi1090x-plymouth {};
dracula-gtk = super.callPackage ./dracula-gtk {}; dracula-gtk = super.callPackage ./dracula-gtk {};
newaita-reborn = super.callPackage ./newaita-reborn {};
scripts = super.callPackage ./scripts {}; scripts = super.callPackage ./scripts {};
rofi-bluetooth = super.callPackage ./rofi-bluetooth {}; rofi-bluetooth = super.callPackage ./rofi-bluetooth {};
} }

View file

@ -37,7 +37,7 @@ stdenvNoCC.mkDerivation {
downloadPage = "https://github.com/dracula/gtk"; downloadPage = "https://github.com/dracula/gtk";
homepage = "https://draculatheme.com/gtk"; homepage = "https://draculatheme.com/gtk";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ adtya ]; maintainers = with maintainers; [adtya];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }

View file

@ -1,55 +0,0 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
gtk3,
gnome,
gnome-icon-theme,
hicolor-icon-theme,
flavour ? "",
}:
stdenvNoCC.mkDerivation {
pname = "newaita-icon-theme";
version = "unstable-2022-03-18";
src = fetchFromGitHub {
owner = "cbrnix";
repo = "Newaita-reborn";
rev = "5b19f46a4ca918585038547b27810502a5997401";
hash = "sha256-nA0l+xH9BlxID0lsXkojKvQRZgkJulSWsRinDre0oW8=";
};
nativeBuildInputs = [gtk3];
propagatedBuildInputs = [
gnome.adwaita-icon-theme
gnome-icon-theme
hicolor-icon-theme
];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons/Newaita-reborn{,-dark}
FLAVOUR="${flavour}"
if [ -n ''$FLAVOUR ]; then
FLAVOUR="-''$FLAVOUR"
fi
cp -ra Newaita-reborn''$FLAVOUR/{actions,apps,categories,devices,emblems,mimetypes,status,panel,places,index.theme} $out/share/icons/Newaita-reborn/
cp -ra Newaita-reborn''$FLAVOUR-dark/{actions,apps,categories,devices,emblems,mimetypes,status,panel,places,index.theme} $out/share/icons/Newaita-reborn-dark/
runHook postInstall
'';
postFixup = "gtk-update-icon-cache $out/share/icons/Newaita-reborn{,-dark}";
meta = with lib; {
description = "Remaster Newaita icon theme";
homepage = "https://github.com/cbrnix/Newaita-reborn";
platforms = platforms.linux;
};
}