PapirusDevelopmentTeam / papirus-folders

a script that lets you change the colors of folders in Papirus icon theme
https://git.io/papirus-folders
MIT License
627 stars 32 forks source link

Changing the way of how folders get patched #41

Open sneexy-boi opened 7 months ago

sneexy-boi commented 7 months ago

Currently, the way papirus-folders works is by manually modifying the theme where it's stored in /usr which doesn't work for immutable distros:

ln: failed to create symbolic link '/usr/share/icons/Papirus/22x22/places/folder-activities.svg': Read-only file system
papirus-folders: Error: Fail to create '/usr/share/icons/Papirus/22x22/places/folder-activities.svg' symlink

This issue is "addressed" in #35 but that solution requires the user to install the theme to their HOME directory rather than having it installed in their system, which most people would prefer for the sake of easy updating and maintenance.

A possible "ultimate" solution would probably be to add a method of patching icons similar to papirus-colors, where it would be possible to copy the folder icons to the users' HOME directory, manually modify/patch them there under a new "icon theme" which then relies on the original Papirus theme installation for every other icon(s) that aren't the recolored folders.

SmartFinn commented 7 months ago

Option 1

5 icons themes (ePapirus, ePapirus-Dark, Papirus, Papirus-Dark, Papirus-Light) × 23 folder colors = 115 separated icon themes. How to manage this mess, I have no idea.

Option 2

Creating 5 separated icon theme that contain places icons only, and a user should to install manually to his home directory, and use papirus-folders to change folders color. This option also won't give any privileges to compare with installing regular Papirus icon theme in home directory.