You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently before the assistant can set the brightness, the user has to cargo install luster. As the set_screen_brightness() function just calls luster as a CLI command to set the brightness.
fnset_screen_brightness(brightness:u32) -> Option<()>{if brightness > 100{println!("Brightness must be between 0 and 100");returnNone;}Command::new("luster").arg(brightness.to_string()).output().ok().map(|_| ())}
This is annoying and it would be more convenient if brightness setting came when the assistant is installed, with no other steps.
The text was updated successfully, but these errors were encountered:
Currently before the assistant can set the brightness, the user has to
cargo install luster
. As theset_screen_brightness()
function just calls luster as a CLI command to set the brightness.This is annoying and it would be more convenient if brightness setting came when the assistant is installed, with no other steps.
The text was updated successfully, but these errors were encountered: