otter-nightlight applies a warm gamma table through wlr-gamma-control-unstable-v1. That works on Hyprland, Sway, and other wlroots compositors. One binary: no arguments starts the daemon. Any other argument is a client command.
Only one client can own gamma per output. Stop wlsunset or hyprsunset while this runs.
Usage
Start the daemon (autostart at login):spawn-at-startup "otter-nightlight". On Hyprland, use exec-once. See Session setup for the same pattern.
Client commands:
A start later than end wraps midnight.
Bar widget
Addnightlight to an otter-bar layout. Left-click enables or disables. Right-click opens temperature presets, the schedule window, and a one-hour suspend.
The widget is a client. It does nothing if the daemon is not running.
Configuration
Config:~/.config/otter-shell/otter-nightlight.conf
Dependencies
- Wayland compositor with
wlr-gamma-control-unstable-v1

