| Crates.io | dimmer |
| lib.rs | dimmer |
| version | 0.2.1 |
| created_at | 2023-05-06 17:02:08.038839+00 |
| updated_at | 2023-05-07 12:22:14.270094+00 |
| description | Dimmer smoothly transitions your screen from one brightness to another. |
| homepage | |
| repository | https://github.com/koenw/dimmer |
| max_upload_size | |
| id | 858633 |
| size | 26,116 |
Dimmer smoothly transitions your screen from one brightness to another. Very simple, and only tested with Wayland and recent Linux kernels.
# 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
nix run github:koenw/dimmer
cargo install dimmer