From d1e5f484461e27133317c78b81347d05dc3a2760 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 24 Aug 2025 14:14:30 +1000 Subject: internal: rename Hyprland -> Hypr Prevent shadowing Fixes window info not changing on switching to an empty workspace --- services/Brightness.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'services/Brightness.qml') 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); -- cgit v1.2.3-freya