mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
@@ -126,6 +126,11 @@ impl CtrlKbdLedZbus {
|
|||||||
e
|
e
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
|
ctrl.set_brightness(ctrl.config.brightness).map_err(|e| {
|
||||||
|
warn!("{}", e);
|
||||||
|
e
|
||||||
|
})?;
|
||||||
|
|
||||||
if let Some(mode) = ctrl.config.builtins.get(&ctrl.config.current_mode) {
|
if let Some(mode) = ctrl.config.builtins.get(&ctrl.config.current_mode) {
|
||||||
Self::notify_led(&ctxt, mode.clone())
|
Self::notify_led(&ctxt, mode.clone())
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user