summaryrefslogtreecommitdiff
path: root/services/Brightness.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-24 14:14:30 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-24 14:14:30 +1000
commitd1e5f484461e27133317c78b81347d05dc3a2760 (patch)
tree7e84f152a66b69366d6abb67af63ec7306fca7bd /services/Brightness.qml
parent[CI] chore: update flake (diff)
downloadcaelestia-shell-d1e5f484461e27133317c78b81347d05dc3a2760.tar.gz
caelestia-shell-d1e5f484461e27133317c78b81347d05dc3a2760.tar.bz2
caelestia-shell-d1e5f484461e27133317c78b81347d05dc3a2760.zip
internal: rename Hyprland -> Hypr
Prevent shadowing Fixes window info not changing on switching to an empty workspace
Diffstat (limited to 'services/Brightness.qml')
-rw-r--r--services/Brightness.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/Brightness.qml b/services/Brightness.qml
index 954f76d..086bc65 100644
--- a/services/Brightness.qml
+++ b/services/Brightness.qml
@@ -18,14 +18,14 @@ Singleton {
}
function increaseBrightness(): void {
- const focusedName = Hyprland.focusedMonitor.name;
+ const focusedName = Hypr.focusedMonitor.name;
const monitor = monitors.find(m => focusedName === m.modelData.name);
if (monitor)
monitor.setBrightness(monitor.brightness + 0.1);
}
function decreaseBrightness(): void {
- const focusedName = Hyprland.focusedMonitor.name;
+ const focusedName = Hypr.focusedMonitor.name;
const monitor = monitors.find(m => focusedName === m.modelData.name);
if (monitor)
monitor.setBrightness(monitor.brightness - 0.1);