This commit is contained in:
ediblerope 2026-05-15 22:43:39 +01:00
parent f7f8e531be
commit fb03921bfb

View file

@ -83,11 +83,12 @@
# colored variant (folder-{color}-*.svg), symlink the generic name # colored variant (folder-{color}-*.svg), symlink the generic name
# (folder-*.svg) to it. No papirus-folders binary needed. # (folder-*.svg) to it. No papirus-folders binary needed.
papirusDark = pkgs.runCommand "papirus-dark-${closestPfColor}" {} '' papirusDark = pkgs.runCommand "papirus-dark-${closestPfColor}" {} ''
cp -r ${pkgs.papirus-icon-theme}/share/icons/Papirus-Dark $out mkdir -p $out/share/icons
chmod -R u+w $out cp -r ${pkgs.papirus-icon-theme}/share/icons/Papirus-Dark $out/share/icons/
chmod -R u+w $out/share/icons/Papirus-Dark
for size in 22x22 24x24 32x32 48x48 64x64; do for size in 22x22 24x24 32x32 48x48 64x64; do
places="$out/$size/places" places="$out/share/icons/Papirus-Dark/$size/places"
[ -d "$places" ] || continue [ -d "$places" ] || continue
for f in \ for f in \
"$places/folder-${closestPfColor}"-*.svg \ "$places/folder-${closestPfColor}"-*.svg \