themix-project / oomoxify

Tool and plugin for applying Themix/Oomox color palette to Spotify
13 stars 2 forks source link

oomoxify-cli fails if ~/.config/oomox doesn't exist #4

Closed tmijail closed 5 years ago

tmijail commented 5 years ago

I just ran into this while adding oomox to my post install script.

$ sudo oomoxify-cli /opt/oomox/colors/Modern/arc-dark
    cat: /home/tlqmj/.config/oomox/spotify_backup/version.txt: No such file or directory
    mkdir: cannot create directory ‘/home/tlqmj/.config/oomox/spotify_backup’: No such file or directory

It's no big deal as just creating ~/.config/oomox beforehand fixes the issue, but It'd be nice if this was done automatically.

actionless commented 5 years ago

thanks for reporting!