Skip to content

Latest commit

 

History

History
114 lines (79 loc) · 3.42 KB

README.md

File metadata and controls

114 lines (79 loc) · 3.42 KB

Picday-cli

npm plateform node npm GitHub

English | 简体中文

A command line tool based on node. Get and set today's wallpaper from bing.com and Momentum chrome extension. Works on macOS 10.12+, Linux, and Windows 10+.

today's wallpaper with Bing

today's wallpaper with Bing

today's wallpaper with Momentum

today's wallpaper with Momentum

Installation

$ npm install -g picday-cli

Usage

  • Change the wallpaper to bing
$ picday use bing
  • Change the wallpaper to momentum
$ picday use momentum
  • Reset to the original wallpaper
$ picday reset
  • Delete today's wallpaper
$ picday clean
  • Open wallpapers folder in explorer
$ picday open

Setting

Bing wallpaper

Different regions of the today's wallpaper may not be the same, the default region is zh-cn.

Find your area code in the table below:

Area/Code Area/Code Area/Code
Argentina (es-ar) Finland (fi-fi) Switzerland (fr-ch)
United Arab emirates (ar-ae) South Korea (ko-kr) Saudi Arabia (ar-sa)
Egypt (ar-eg) Netherlands (nl-nl) China - Taiwan (zh-tw)
Ireland (en-ie) Canada - French (fr-ca) Turkey (tr-tr)
Austria (de-at) Canada - English (en-ca) Spain (en-es)
Australia (en-au) Malaysia (en) China - Hong Kong (zh-hk)
Brazil (pt-br) America - Spanish (es-us) Singapore (en-sg)
Belgium - French (fr-be) America - English (en-us) New Zealand (en-nz)
Belgium - Dutch (nl-be) Mexican (es-mx) Italian (it-it)
Poland (pl-pl), South Africa (en-za) India (en-in)
Denmark (dk-da) Norway (nb-no) Indonesia (en-id)
Germany (de-de) Portugal (pt-pt) England (en-gb)
Russia (ru-ru) Japan (ja-jp) Chile (en-cl)
France (fr-fr) Sweden (sv-se) China (zh-cn)
Philippines (en-ph) Switzerland - German (de-ch) ...

Then use the command picday set-area <area-code> to set it to your own, like this:

$ picday set-area en-us

After that, don't forget to run picday clean to remove old wallpapers and obtain a new.

Momentum wallpaper

You may find that your momentum wallpaper is different from the chrome extension. Because everyone's client_uuid is different. So you need to set your own client_uuid.

Open chrome's new tab and console, enter localStorage.client_uuid, then just paste your client_uuid into the following command:

$ picday set-id client_uuid

Momentum setting

After that, don't forget to run picday clean to remove old wallpapers and obtain a new.

License

MIT