varietywalls / variety

Wallpaper downloader and manager for Linux systems
http://peterlevi.com/variety
GNU General Public License v3.0
1.12k stars 137 forks source link

Option to reload the config file from the command line? #674

Open laithalissa opened 5 months ago

laithalissa commented 5 months ago

Version of Variety you are using 0.8.11

Is your feature request related to a problem? Please describe.

I want to make variety reload the config file without having to kill + relaunch, or open the preferences in the UI.

The reason is that I want to be able to modify the config file automatically based on certain conditions, but variety doesn't reload the config file until you interact with it, either by opening the ui settings or killing/relaunching.

Describe the solution you'd like

A flag to reload the config, e.g. variety --reload

Additional context

jamesonBradfield commented 5 months ago

I have had very little latency using the variety --set-config flag from bash, then running variety -n.