Closed simonfogliato closed 1 year ago
Thanks. I'll take a look at this.
This has already been done here: https://github.com/nwg-piotr/nwg-look/blob/f0f9f7278d7cbaa85862ad9a0ab42886c5938d61/tools.go#L858
I just did another quick test...
If it helps the following is my entire setup: https://github.com/simonfogliato/dotfiles/blob/main/executable_arch.sh
pacman -Qm nwg-look nwg-look 0.2.4-1
I did a quick search and when I move the folder "mv .icons .icons_test" and apply a new cursor it will update the following file:
/home/sfogliato/.local/share/icons/default/index.theme
So it would seem to write in a different location.
The program looks for the icons folder in:
~/.icons
$XDG_DATA_HOME/icons
~/.local/share/icons
in this certain order. The first location found will be used in further code execution. In case we find none of above, you'll see the Couldn't find icons folder
warning in the command output. Run in terminal to check.
That's it! Thanks for clearing this up.
If you set a custom cursor theme without that folder, index.theme will never be created and the settings are not properly applied. For any updated setting file nwg-look should create the folder if it does not exist.
~/.icons/default/index.theme
Workaround:
mkdir -p ~/.icons/default