michaelortmann/zstatus
Mirror of codeberg repository. zstatus is a swaybar status command in Zig.
Description:
zstatus is a swaybar status command in Zig.
It is tailored to my specific needs.
It updates the time every second and the temperature every 30 minutes.
Branch main is compatible with zig 0.14.1
Branch zig-0.16.0-dev is compatible with zig 0.16.0-dev.1412
Usage:
$ zig build
Edit .config/sway/config
status_command /path/to/zstatus <latitude> <longitude>
Example:
status_command /path/to/zstatus 47.374 8.531
License:
MIT License Copyright (c) 2024 - 2025 Michael Ortmann
Data from MET Norway
Website:
https://codeberg.org/mortmann/zstatus
Links and Thanks to everyone involved there:
https://ziglang.org/ https://www.met.no/ https://swaywm.org/
Enjoy, Michael