Backlight: Set default to 0 to prevent breaking existing setups

This commit is contained in:
Lars Niesen
2024-09-25 16:37:21 +02:00
parent 47f767b0ee
commit d684a6de21
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ bool waybar::modules::Backlight::handleScroll(GdkEventScroll *e) {
step = config_["scroll-step"].asDouble();
}
double min_brightness = 10;
double min_brightness = 0;
if (config_["min-brightness"].isDouble()) {
min_brightness = config_["min-brightness"].asDouble();
}