Sunwait calculates sunrise or sunset times and blocks until next sunrise/sunwait event. This software is a fork of Dan Risacher's original sunwait program.
This repository contains flake.nix file that builds and provides sunwait executable file.
You need Zig compiler v0.14.x.
zig build -DlegacyTo build and run the built application in one go, use this command instead:
zig build -Dlegacy run
# To pass arguments to the program, set them after "--"
zig build -Dlegacy run -- pollTo build new CLI, remove -Dlegacy option from the above.
zig build
zig build run
zig build run -- pollTo build and install man page as well, run man step or set -Dman option to the default build.
# Build and install man page
zig build man
# Build and install man page in addition to the application binary
zig build -DmanAdd -Dtarget=native-windows -fwine options to build command.
You need working Wine installation on your machine.