catppuccin / papirus-folders

📜 Soothing pastel theme for Papirus Icon Theme folders
MIT License
155 stars 4 forks source link

papirus-folders: Error: Unable to find 'cat-blue' color in 'Papirus-Dark' #1

Closed Henrykado closed 2 years ago

Henrykado commented 2 years ago

when i try running ./papirus-folders -C cat-blue --theme Papirus-Dark it doesnt work when i run ./papirus-folders -l it only shows the default papirus-folders colors i tried using copying the src/* files to Papirus-Dark as well to see if it would work, but it didnt (i also tried uninstalling and reinstalling papirus)

elkrien commented 2 years ago

Are You in downloaded got folder? It uses modified papirus-folders script and for sure cat-blue is there. Can You please print screen Your terminal with this error and paste here?

I tested today on two different Linux distributions and works without problems.

Henrykado commented 2 years ago

image

elkrien commented 2 years ago

image

I'm not able to reproduce this error. I tried in few arch distros, Debian and Fedora and each time everything works. Please check if papirus-folders script includes the following:

declare_colors() {
    local color=''
    local -a colors=()
    local -a valid_colors=("black" "blue" "bluegrey" "breeze" "brown"
        "carmine" "cyan" "darkcyan" "deeporange" "green" "grey"
        "indigo" "magenta" "nordic" "orange" "palebrown" "paleorange"
        "pink" "purple" "red" "teal" "violet" "white" "yaru" "yellow"
    "cat-flamingo" "cat-mauve" "cat-pink" "cat-maroon"
    "cat-red" "cat-peach" "cat-yellow" "cat-green" "cat-teal" "cat-blue"
    "cat-sky" "cat-lavender")

If not please download it again and try again.

Henrykado commented 2 years ago

the colors are there and even after redownloading it it didnt work maybe it has something to do with endeavour? im not sure

burgMan32 commented 2 years ago

I am having this same issue, when I run the command ./papirus-folders -l it only shows the colors supplied with papirus and not the catppuccin colors. What I've noticed, however, is that running sudo ./papirus-folders -l does show the catppuccin colors, but I am not able to change the appearance of the folders on my user account, only on the root account. So the problem seems to be one related to permissions, but I'm not sure of a way to fix this aside from always being on your root account which can pose security issues. What helped me fix this issue is just uninstalling papirus via the command wget -qO- https://git.io/papirus-icon-theme-uninstall | sh and then reinstalling it to root via the command wget -qO- https://git.io/papirus-icon-theme-install | sh. After that, I just changed directories to my papirus-folders folder and ran the command sudo cp -r src/* /usr/share/icons/Papirus, and it miraculously worked.

Henrykado commented 2 years ago

that worked, thanks a bunch!