Downloads random wallpaper in directory.
python random_wallpaper [dir] [timeframe]
Argument | Description | Default value |
---|---|---|
dir |
Path-like string of destination directory. | . (current working directory) |
timeframe |
Reddit's timeframe, valid values: hour , day , week , month , year , all . |
month |
See: https://www.jcchouinard.com/documentation-on-reddit-apis-json/
python random_wallpaper.py "~/wallpaper" week
python random_wallpaper.py -h