A nodejs cli tool for fetching Bing wallpapers regularly
npm install -g dwpor
yarn global add dwpStart a cron job.
dwp startStop all cron jobs.
dwp stopShow cron jobs.
dwp listShow logs.
dwp log-
-v, --versionShow current version.
-
-h, --helpShow help info.
-
-W, --width <number>Set wallpaper's width. Not required.
widthandheightwould be automatically acquired with nc-screen. -
-H, --height <number>Set wallpaper's height. Not required.
-
-i, --interval <string>Interval between two fetching actions, with format
[digit][unit]. For example,1hmeans fetching wallpaper per hour. Unit supportss(second),m(minute),h(hour),d(day). Default1d. Not suggest to set a very small value, otherwise leading problem. -
-m, --max <number>Keep latest
maxwallpapers in the directory. Default3. -
-s, --startupAuto start after your computer launched. Plan to support.
-
--no-startupNot auto start after your computer launched. Plan to support.
-
-n, --num <number>How many rows of log will be shown. Default
500. -
-e, --errorShow logs with a log level upper than
error.
Please contact with me if you have any question. Welcome to confirm an issue or contribute.