nosignal-shell/services/Visibilities.qml
2 * r + 2 * t d1e5f48446 internal: rename Hyprland -> Hypr
Prevent shadowing
Fixes window info not changing on switching to an empty workspace
2025-08-24 14:14:30 +10:00

15 lines
328 B
QML

pragma Singleton
import Quickshell
Singleton {
property var screens: new Map()
function load(screen: ShellScreen, visibilities: var): void {
screens.set(Hypr.monitorFor(screen), visibilities);
}
function getForActive(): PersistentProperties {
return screens.get(Hypr.focusedMonitor);
}
}