Skip to content

OneNoted/nighterrors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nighterrors

Rust 2021 Platform Linux Display Wayland Backends Hyprland + wlroots

Ultra-light Rust Wayland blue-light filter daemon.

nighterrors provides runtime temperature/gamma control with backend auto-selection:

  • hyprland-ctm-control-v1 when available (preferred)
  • wlr-gamma-control-unstable-v1 as fallback

Features

  • Small single-binary daemon + CLI control interface
  • Runtime control: set, get, reset, outputs, exclude, stop, status
  • TTY-aware output (--raw, --pretty, auto mode)
  • Output exclude/include controls (by output name or @<global_id>)
  • Minimal dependency footprint (no clap/tokio/serde)

Quick Start

1) Build

cargo build --release

2) Run daemon (foreground)

./target/release/nighterrors run

Example startup with options:

./target/release/nighterrors run -t 5500 -g 95 -i off --exclude eDP-1

3) Control from another terminal

./target/release/nighterrors status
./target/release/nighterrors set temp 4800
./target/release/nighterrors set g -5
./target/release/nighterrors exclude add eDP-1
./target/release/nighterrors get state --raw

4) Stop daemon

./target/release/nighterrors stop

Command Help

nighterrors help
nighterrors help run
nighterrors help set

Notes

  • Linux + Wayland only.
  • If no compatible protocol is exposed by your compositor, startup fails with a clear backend/protocol error.
  • Default socket path: ${XDG_RUNTIME_DIR:-/run/user/<uid>}/nighterrors/${WAYLAND_DISPLAY:-wayland-0}.sock

About

Ultra-light Rust Wayland blue-light filter daemon for Hyprland/Niri and wlroots compositors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages