Evie Litherland-Smith
8ca2053944
Pull program expressions inside hyprland directory (e.g. rofi, waybar, etc...) up one level. Convert everything into package-name/default.nix format for consistency Move common home imports from flake.nix into hyprland/default.nix, flake.nix now only defaults into importing hyprland, to be consistent with how system imports work Remove some old files: calendar and contact setup, sweet theme pkgs Move xdg.configFile expressions from home/default.nix into a config/default.nix, keeping the files to be linked in the config dir as well (still need to do ipython though)
33 lines
800 B
Nix
33 lines
800 B
Nix
{ stdenvNoCC, fetchFromGitHub, gtk3, libsForQt5, gnome, hicolor-icon-theme }:
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "candy-icon-theme";
|
|
version = "6a35be5cb133c6be8314807f55da3d795e24fb86";
|
|
dontBuild = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EliverLara";
|
|
repo = "candy-icons";
|
|
rev = version;
|
|
sha256 = "sha256-M58ts/xyVf+ZDidd4MEp/LlU3vk2imEwOnb0/sVJUYo=";
|
|
};
|
|
|
|
nativeBuildInputs = [ gtk3 ];
|
|
|
|
buildInputs =
|
|
[ libsForQt5.breeze-icons gnome.adwaita-icon-theme hicolor-icon-theme ];
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/share/icons/Sweet-folders
|
|
mv * $out/share/icons/Sweet-folders
|
|
|
|
for theme in $out/share/icons/*; do
|
|
gtk-update-icon-cache --force $theme
|
|
done
|
|
|
|
runHook postInstall
|
|
'';
|
|
}
|