Skip to content
Adam Mladý edited this page Oct 9, 2025 · 12 revisions

Introduction

Welcome to wayweather wiki!

wayweather was a script that I made for waybar for pulling weather data from OpenMeteo. When I finally pushed myself to publish it, it quickly went out of the main scope. So I added features, more and more and now it's quite large. Not done tho xd.

Sections

  1. API - --get, --print, --daemon and the api parser function
  2. Config - --set, --reset and the config system
  3. Locations - partially --set, --load, --set-default, --delete

Information

This is the help page of the script:

> wayweather [-h/--help] [OPTIONS]

Weather script for Waybar with IP Geolocation

HELP:
    -h, --help            Print main help information
    <OPTION> -h, --help   Print help information about
                          an option
    Example: > wayweather --get --help

OPTIONS:
    -g, --get [--no-icon]   Pring waybar json input
    -s, --set <ARGS>        Set custom location and
                            print waybar json input
    -r, --reset [--units]   Reset custom location to
                            IP geolocation
    -p, --print [--no-icon] Print waybar result to stdout
    -l, --load [default]    Select locations from saved ones
        --list              List saved locations
    -sd, --set-default      Set default location for faster
                            loading
    -d, --delete   [WIP]    Delete locations from saved ones
    -w, --daemon   [WIP]    Runs a while loop for waybar
                            for faster updating without
                            polling the API

It shows you basic information about the arguments. But you can get more information by typing <option> --help, so something like --set --help will print information on the --set argument. I also added double help for the funsies, eg. --help --help. It brings you to the wiki.

Clone this wiki locally