Skip to main content

A Powerline segment for fetching and showing the weather in the current location

Project description

powerline-wttr

  • A Powerline segment for displaying weather information from wttr.in

Installation

pip3 install powerline-wttr

Configuration

  • Add the following to your powerline configuration file:
  • The city argument is the city to get the weather for.
  • The format argument is the format string to use(Optional).
{
    "function": "powerline_wttr.weather",
    "priority": 100,
    "args": {
        "city": "Tokyo",
        "format": "%l:+%c+%f+%h+%p+%P+%m+%w" 
    }
}

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powerline_wttr-0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

powerline_wttr-0.1-py3-none-any.whl (2.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page