iamStephenFang / bitbar-EmojiWeather

Bitbar weather plugin which written in javaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BitBar – EmojiWeather

Bitbar weather plugin written in JavaScript.

EmojiWeather

Usage

  1. Run npm install or yarn install.

  2. Rename .env.example to .env, add HeWeather API key and location.

  3. Organize your plugin directory structure like this:

    plugins
    ├── BitWeather.{refresh-time}.js -> bitbar-EmojiWeather/BitWeather.js
    └── bitbar-EmojiWeather
        ├── .env
        ├── BitWeather.js
        ├── README.md
        ├── node_modules
        └── package.json
  4. Done, enjoy!

Special Notes

This script assumes you have Node.js executable at /usr/local/bin/node, which should be fine if you've installed it with HomeBrew.

If not, you need to edit the shebang line to specify an alternative one.

You're able to modify the code at the bitbar section in BitWeather.js to change the content displayed.

Contributors

About

Bitbar weather plugin which written in javaScript.


Languages

Language:JavaScript 100.0%