hhannine / superpaper

A cross-platform multi monitor wallpaper manager.
MIT License
1.12k stars 46 forks source link

Put configuration options in user directory #14

Closed Justinzobel closed 4 years ago

Justinzobel commented 4 years ago

Patch from Arch: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=superpaper

hhannine commented 4 years ago

This is something that has been on my to-do list for a long time but it seems to me that if I move the configurations into the default config directory I will also need to solve how to handle the installation, which I haven't gotten around to figuring out.

Would you mind outlining for me what would be the expected installation procedure for a Python application like this? Should the installation process be setup together with the config dir change?

Secondly, if I throw the configs under XDG_CONFIG_HOME/superpaper, would it be an issue to put the temporary wallpaper images under there as well or should I start using a cache folder elsewhere?

Justinzobel commented 4 years ago

I'm no code expert sorry so I can't give advice on that side but config and wallpapers should be separate. I would put the wallpapers in ~/.cache/superpaper/wallpapers

hhannine commented 4 years ago

Thanks for your input. I'll probably solve this in two phases. First I'll start using the proper folders if Superpaper is run as a python script so git clones and maybe the AUR package will behave correctly and the portable release packages will stay as they are for the time being. Once I get installation flows setup the new installable releases will use the correct folders of each platform.

hhannine commented 4 years ago

This was resolved with: 12aac36c65