lighttigerXIV / catppuccinifier

Apply catppuccin flavors to your wallpapers
MIT License
164 stars 8 forks source link

Install in a local folder instead of /opt/ #2

Closed PoorPocketsMcNewHold closed 1 year ago

PoorPocketsMcNewHold commented 1 year ago
magick: unable to open image '/opt/catppuccinifier/flavors/frappe-hald-clut.png': No such file or directory @ error/blob.c/OpenBlob/3569.

pm  …/catppuccinifier   master   ♥ 12:02  cd /opt/catppuccinifier/                                

pm  /opt/catppuccinifier  ♥ 12:02  ls  
 flavors

pm  /opt/catppuccinifier  ♥ 12:02  cd flavors              

pm  /opt/catppuccinifier/flavors  ♥ 12:02  ls
 frappe-hald-clut.png   latte-hald-clut.png   macchiato-hald-clut.png   mocha-hald-clut.png

I don’t really know why the reference palettes files should be placed outside a local directory, as it causes non-root users to be unable to access them. I’ve settled for ~/.local/share/catppuccinifier/ but I believe it could also be moved alongside the executable (Which could have also been moved to ~/.local/bin/ for more consistency) to /usr/local/catppuccinifier.

lighttigerXIV commented 1 year ago
magick: unable to open image '/opt/catppuccinifier/flavors/frappe-hald-clut.png': No such file or directory @ error/blob.c/OpenBlob/3569.

pm  …/catppuccinifier   master   ♥ 12:02  cd /opt/catppuccinifier/                                

pm  /opt/catppuccinifier  ♥ 12:02  ls  
 flavors

pm  /opt/catppuccinifier  ♥ 12:02  cd flavors              

pm  /opt/catppuccinifier/flavors  ♥ 12:02  ls
 frappe-hald-clut.png   latte-hald-clut.png   macchiato-hald-clut.png   mocha-hald-clut.png

I don’t really know why the reference palettes files should be placed outside a local directory, as it causes non-root users to be unable to access them. I’ve settled for ~/.local/share/catppuccinifier/ but I believe it could also be moved alongside the executable (Which could have also been moved to ~/.local/bin/ for more consistency) to /usr/local/catppuccinifier.

Ok. I will have a look at it. I forget that are people that have immutable systems :3

PoorPocketsMcNewHold commented 1 year ago

Well, I actually don’t :p But indeed, this should be helpful for those people.

lighttigerXIV commented 1 year ago

@PoorPocketsMcNewHold Changed the flavors to a local folder. You can remove the old files now and reinstall it