nwg-piotr / nwg-look

GTK3 settings editor adapted to work in the wlroots environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

~/.icons/default folder should get created if it does not exist

simonfogliato opened this issue · comments

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

Thanks. I'll take a look at this.

This has already been done here:

makeDir(filepath.Join(iconsFolder, "default"))

I just did another quick test...

  1. cd ~
  2. mv .icons .icons_test
  3. Open nwg_look and select any new valid mouse cursor
  4. Click apply on the gui
  5. ls -la
  6. The .icons folder does not exist... The .icons folder does not get created...

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.