Allow users to directly set wallpaper to location specified in config file.
Closed this issue · 4 comments
JosiahBradley commented
Work in progress, assign to me. Allows users to provide a switch or top level command to set the wallpaper directory on their os.
bbkane commented
Something like this?
grabbit grab --set-wallpaper-dir ~/Pictures/grabbit
grabbit set-wallpaper-dir ~/Pictures/grabbit
JosiahBradley commented
More like
grabbit grab --set-wallpaper-dir [ -p path/to/myconfig.yaml ]
grabbit set-wallpaper-dir [ -p path/to/myconfig.yaml ]
This would pull the directory from subreddits->destination
in the configuration file provided or default location.
This approach is cleaner and doesn't abuse using this function as a general wallpaper setter.
bbkane commented
There can be multiple dirs in myconfig.yaml. Would it choose one?
bbkane commented
This turned out to be to difficult to be worth doing