diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 14:14:30 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 14:14:30 +1000 |
| commit | d1e5f484461e27133317c78b81347d05dc3a2760 (patch) | |
| tree | 7e84f152a66b69366d6abb67af63ec7306fca7bd /services/Visibilities.qml | |
| parent | [CI] chore: update flake (diff) | |
| download | caelestia-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/Visibilities.qml')
| -rw-r--r-- | services/Visibilities.qml | 5 |
1 files changed, 2 insertions, 3 deletions
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); } } |