#wayland #brightness #screen #transition #another #linux-kernel #duration

app dimmer

Dimmer smoothly transitions your screen from one brightness to another

3 unstable releases

0.2.1 May 7, 2023
0.2.0 May 7, 2023
0.1.0 May 6, 2023

#1466 in Command line utilities

Download history 4/week @ 2024-02-15 11/week @ 2024-02-22 1/week @ 2024-02-29 1/week @ 2024-03-07 3/week @ 2024-03-14 26/week @ 2024-03-28 25/week @ 2024-04-04

51 downloads per month

Unlicense OR MIT

10KB
146 lines

dimmer

Dimmer smoothly transitions your screen from one brightness to another. Very simple, and only tested with Wayland and recent Linux kernels.

Usage

# Show usage information
dimmer --help

# Dim the screen to zero brightness over 5 seconds
dimmer

# Dim (or brighten) the screen to 30%, first saving the current brightness to a statefile
dimmer --save --target 30% --duration 5s

# Restore the screen from a previously saved brightness, using 2 seconds
dimmer --restore --duration 2s

Installation

Nix Flakes Use as you would any nix flake, e.g. run directly with
nix run github:koenw/dimmer
Cargo Install to cargo's bin directory with
cargo install dimmer

Dependencies

~1.5–2.2MB
~39K SLoC