2023-12-31 15:44:53 -05:00
|
|
|
{
|
|
|
|
bat-theme-src,
|
2024-01-01 02:16:42 -05:00
|
|
|
gtk-theme-src,
|
2024-05-20 01:17:07 -04:00
|
|
|
xresources-src,
|
2023-12-31 15:44:53 -05:00
|
|
|
...
|
|
|
|
} @ inputs: (final: prev: {
|
2023-12-08 14:21:23 -05:00
|
|
|
dracula-theme = prev.dracula-theme.overrideAttrs (oldAttrs: let
|
2023-12-31 15:44:53 -05:00
|
|
|
git-colors = prev.callPackage ./git.nix inputs;
|
|
|
|
plymouth = prev.callPackage ./plymouth.nix inputs;
|
2023-12-13 19:59:04 -05:00
|
|
|
wallpaper = prev.fetchurl (import ./wallpaper.nix);
|
2023-12-08 14:21:23 -05:00
|
|
|
in {
|
2024-03-25 22:42:23 -04:00
|
|
|
version = gtk-theme-src.shortRev;
|
2024-01-01 02:16:42 -05:00
|
|
|
src = gtk-theme-src;
|
2023-12-08 14:21:23 -05:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
2023-12-13 19:59:04 -05:00
|
|
|
mkdir -p $out/share/plymouth/themes $out/wallpapers
|
|
|
|
cp -a ${wallpaper} $out/wallpapers/waves.png
|
2023-12-08 14:21:23 -05:00
|
|
|
|
2023-12-31 15:44:53 -05:00
|
|
|
cp -a ${bat-theme-src}/Dracula.tmTheme $out/bat
|
2023-12-13 18:47:51 -05:00
|
|
|
cp -a ${git-colors}/git-colors $out/git-colors
|
|
|
|
cp -a ${plymouth}/share/plymouth/themes/dracula $out/share/plymouth/themes/
|
2024-05-20 01:17:07 -04:00
|
|
|
cp -a ${xresources-src}/Xresources $out/xres
|
2023-12-08 14:21:23 -05:00
|
|
|
|
|
|
|
# -------------------------------------------
|
|
|
|
mkdir -p $out/share/themes/Dracula
|
|
|
|
cp -a {assets,cinnamon,gnome-shell,gtk-2.0,gtk-3.0,gtk-3.20,gtk-4.0,index.theme,metacity-1,unity,xfwm4} $out/share/themes/Dracula
|
|
|
|
|
|
|
|
cp -a kde/{color-schemes,plasma} $out/share/
|
|
|
|
cp -a kde/kvantum $out/share/Kvantum
|
|
|
|
|
|
|
|
mkdir -p $out/share/aurorae/themes
|
|
|
|
cp -a kde/aurorae/* $out/share/aurorae/themes/
|
|
|
|
|
|
|
|
mkdir -p $out/share/sddm/themes
|
|
|
|
cp -a kde/sddm/* $out/share/sddm/themes/
|
|
|
|
|
|
|
|
mkdir -p $out/share/icons/Dracula-cursors
|
|
|
|
mv kde/cursors/Dracula-cursors/index.theme $out/share/icons/Dracula-cursors/cursor.theme
|
|
|
|
mv kde/cursors/Dracula-cursors/cursors $out/share/icons/Dracula-cursors/cursors
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
})
|