Automatic blue-light filter for Hyprland, Niri, and everything Wayland
Installation | Quick Start | Configuration | Commands
Sunsetr is an automatic blue-light filter for Wayland compositors. It automates smooth color-temperature transitions from neutral to warmer tones, designed to reduce eye strain and improve sleep. Sunsetr automatically adjusts your displays based on your geolocation or a clock-based schedule. It can also be used to persist the same color-temperature and gamma indefinitely and can alternate between various user-defined presets. The controller can integrate with and automate changes in your shell or UI applications via IPC.
- Multi-Compositor Support: Works with Hyprland, Niri, Sway, River, Wayfire, and other Wayland compositors
- Native Hyprland CTM Backend: Direct Color Transformation Matrix support for Hyprland
- Smarter hyprsunset Management: Add longer, cleaner, and more precise sunset/sunrise transitions to hyprsunset (Hyprland)
- Smooth Transitions: Configurable fade effects with adaptive algorithm
- Preset Management: Quick switching between configuration profiles (e.g., day, gaming, weekend)
- Hot Reloading: Live updates when config files change
- IPC for Automation: Unix socket-based IPC for scripting and external integrations
- Geolocation-based Transitions: Automatic sunrise/sunset calculation based on your location
- Interactive City Selection: Choose from 10,000+ cities worldwide for precise coordinates
- Automatic Timezone Detection: Falls back to system timezone for location approximation
- Universal Wayland Support: Direct protocol communication on Wayland compositors
- Smart Defaults: Works beautifully out-of-the-box with carefully tuned settings
- Flexible Configuration: Extensive customization options for power users
- AUR packages available
- Nix package and Nix flake available
- crates.io package available
- Implement gradual transitions
- Multi-compositor Wayland support
- Geolocation-based transitions
- Implement Hyprland native CTM backend
- Implement IPC for scripting and external integrations
- Fedora Copr package available
- Debian/Ubuntu package available
- to wlsunset, hyprsunset, and redshift for inspiration
- to the Hyprwm team for making Hyprland possible
- to the niri team for making the best Rust-based Wayland compositor
- to the Wayland community for the robust protocol ecosystem

