ColoradoSchoolOfMines / visplay

A libmpv and Qt based application for automating and controlling media playback on any display.
https://coloradoschoolofmines.github.io/visplay/
GNU General Public License v3.0
4 stars 1 forks source link

Generate Config Folder and Default Config On First Launch #3

Closed robozman closed 6 years ago

robozman commented 6 years ago

Currently we're looking in $XDG_CONFIG_HOME, then $HOME/.config. Maybe we want to alter the second option to be $HOME/.config/visplay and create the directory if it doesn't exist. @jhgarner

jhgarner commented 6 years ago

That would probably be good so that the user's config folder can stay organized. Later on, would it make sense to create a default file and write it as well if nothing else is found?

robozman commented 6 years ago

Yeah, creating a default config makes sense. We would have to make the folder as well.

Should we make just the visplay.yaml or some/all of the others? We could just pull them from github.

robozman commented 6 years ago

Removing myself as this would be a good task for someone new to the codebase

sumnerevans commented 6 years ago

Fixed by #17.