Automatically dims and brightens your display(s) based on your location and the time of day
Project details
Lumina is a Rust-based Linux application that automatically manages screen brightness based on your location and the time of day. By creating a brightness curve that adapts from sunrise to sunset, Lumina simplifies the user experience, eliminating the need to manually adjust display settings throughout the day.
Lumina operates based on the relationship between natural solar irradiance and screen brightness. By using location data to derive local sunrise and sunset times, Lumina ensures that the transition from sunrise to mid-day and then to sunset is mirrored effectively by managing the brightness of device displays.
The flexible configuration allows users to dictate specific parameters, such as brightness minimum and maximum values, as well as custom scheduling of brightness adjustments.
A typical configuration file may look like this:
# Lumina Configuration (TOML)
[location]
latitude = 47.9789803
longitude = -122.2020794
[brightness]
min = 20
max = 90
[schedule]
start_time = "07:00"
stop_time = "22:00"
interval_seconds = 60
respect_manual_changes = false
With Lumina, users in varying environmental conditions can minimize eye strain and maintain an optimal viewing experience. The application’s automation and customization ensure that each user can tailor display settings to fit their unique lifestyle and workstation conditions.
Comments
0Start the conversation
Share the first comment.