summaryrefslogtreecommitdiff
path: root/modules/bar/Bar.qml
diff options
context:
space:
mode:
authorEzekiel Gonzales <141341590+notsoeazy@users.noreply.github.com>2026-01-03 16:04:00 +0800
committerGitHub <noreply@github.com>2026-01-03 19:04:00 +1100
commit49b94e7b188010d70920590a50f8441373442dfd (patch)
tree463fe914ebcb6cb6f82529ea3c2879d5441bc239 /modules/bar/Bar.qml
parentbluetooth: make device sort order stable (diff)
downloadcaelestia-shell-49b94e7b188010d70920590a50f8441373442dfd.tar.gz
caelestia-shell-49b94e7b188010d70920590a50f8441373442dfd.tar.bz2
caelestia-shell-49b94e7b188010d70920590a50f8441373442dfd.zip
services: add brightnessIncrement config property (#1010)
* feat: Add brightnessIncrement config property * birghtness increment applies on bar scroll
Diffstat (limited to 'modules/bar/Bar.qml')
-rw-r--r--modules/bar/Bar.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml
index 1dceea4..cb384e3 100644
--- a/modules/bar/Bar.qml
+++ b/modules/bar/Bar.qml
@@ -95,9 +95,9 @@ ColumnLayout {
// Brightness scroll on bottom half
const monitor = Brightness.getMonitorForScreen(screen);
if (angleDelta.y > 0)
- monitor.setBrightness(monitor.brightness + 0.1);
+ monitor.setBrightness(monitor.brightness + Config.services.brightnessIncrement);
else if (angleDelta.y < 0)
- monitor.setBrightness(monitor.brightness - 0.1);
+ monitor.setBrightness(monitor.brightness - Config.services.brightnessIncrement);
}
}