Add gamma control and night light (#38)

Add configurable night light, smooth gamma transitions, and shell controls. Update documentation and panel tests, and fix portal test startup synchronization.
This commit is contained in:
Samuel Onoja authored and GitHub committed 2026-10-13 14:37:26 +01:00
1 parent 9163374cdb
commit 2a400b26d0
34 files changed
+940 -20

No files matched your search

+3
View File
@@ -45,6 +45,8 @@ pub struct Config {
#[serde(default)]
lock_screen: crate::session_lock::IdleSettings,
#[serde(default)]
night_light: ferese_config::night_light::Settings,
#[serde(default)]
idle_inhibit: crate::idle_inhibition::Settings,
#[serde(default)]
pub(crate) autostart: Vec<DaemonConfig>,
@@ -141,6 +143,7 @@ impl Config {
activity_matcher: ferese_config::activities::Matcher::new(&self.activities)
.map_err(ConfigError::Binding)?,
lock_idle: self.lock_screen.validate()?,
night_light: self.night_light.validate().map_err(ConfigError::Binding)?,
idle_inhibit: self.idle_inhibit,
autostart: self.autostart.clone(),
layout_mode: self.layout_mode(),