Revert "More cleanup"
This reverts commit 85256d42ee
.
Wanted candy-icons / sweet-folder back
This commit is contained in:
parent
433be5b06e
commit
6c52aa0afb
33
home/hyprland/pkgs/candy-icon-theme/default.nix
Normal file
33
home/hyprland/pkgs/candy-icon-theme/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
gtk3,
|
||||
}:
|
||||
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];
|
||||
|
||||
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
|
||||
'';
|
||||
}
|
33
home/hyprland/pkgs/sweet-folder-theme/default.nix
Normal file
33
home/hyprland/pkgs/sweet-folder-theme/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
gtk3,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "sweet-folder-theme";
|
||||
version = "b2192ff1412472f036fdf9778c6b9dbcb6c044ec";
|
||||
dontBuild = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EliverLara";
|
||||
repo = "Sweet-folders";
|
||||
rev = version;
|
||||
sha256 = "sha256-QexfqXH5a1IEhKBRjWSMdrEvThvLRzd4M32Xti1DCGE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [gtk3];
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/icons
|
||||
mv Sweet-Rainbow $out/share/icons
|
||||
|
||||
for theme in $out/share/icons/*; do
|
||||
gtk-update-icon-cache --force $theme
|
||||
done
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue