summaryrefslogtreecommitdiff
path: root/services
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
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')
-rw-r--r--services/Brightness.qml4
-rw-r--r--services/Hypr.qml (renamed from services/Hyprland.qml)0
-rw-r--r--services/Visibilities.qml5
3 files changed, 4 insertions, 5 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);
diff --git a/services/Hyprland.qml b/services/Hypr.qml
index 0f31453..0f31453 100644
--- a/services/Hyprland.qml
+++ b/services/Hypr.qml
diff --git a/services/Visibilities.qml b/services/Visibilities.qml
index bd431db..0f09e3a 100644
--- a/services/Visibilities.qml
+++ b/services/Visibilities.qml
@@ -1,16 +1,15 @@
pragma Singleton
import Quickshell
-import Quickshell.Hyprland
Singleton {
property var screens: new Map()
function load(screen: ShellScreen, visibilities: var): void {
- screens.set(Hyprland.monitorFor(screen), visibilities);
+ screens.set(Hypr.monitorFor(screen), visibilities);
}
function getForActive(): PersistentProperties {
- return screens.get(Hyprland.focusedMonitor);
+ return screens.get(Hypr.focusedMonitor);
}
}