AlfredoSequeida / venus

Venus aims to be a cross-platform tool to automatically change your desktop wallpaper to something random using images from Unsplash.
MIT License
25 stars 6 forks source link

Cant find a config file #17

Closed KrishnarajT closed 3 years ago

KrishnarajT commented 3 years ago

I installed it with sudo pip install venuspy but it didnt make the config file, so i made one, and now it says that it doesnt have any section headers.

Can I see a default config file as I couldnt find one!

AlfredoSequeida commented 3 years ago

Hey @KrishnarajT, the config file is automatically created when installing. It should be in your home directory inside of a directory called .config/venus. The file is called config.

So for linux/unix like systems: /home/user_name/.config/venus/config

And for a windows system: LocalDisk:\\Users\user_name\.config\venus\config

where the user_name corresponds to the account you installed venus with and LocalDisk is the installation partition on windows used by pip (Probably C unless you modified it). Note that your file browser might hide files and directories with a dot in the front like .config. So make sure that you enable seeing hidden files.

The default config structure is here: https://github.com/AlfredoSequeida/venus/blob/bfe52f730b4215a9e6b645f6f8ded73ff302de57/venus/__init__.py#L4

So the default file in those directories should look like this:

[SETTINGS]
SEARCH_TERMS =
OUTPUT_PATH =
WAIT_TIME =

Also, note that the config file does not use an extension. It's just a plain text file called config.