mirror of
https://github.com/belsabbagh/dotfiles.git
synced 2026-04-11 09:36:46 +00:00
17 lines
361 B
QML
17 lines
361 B
QML
pragma Singleton
|
|
|
|
import Quickshell
|
|
|
|
Singleton {
|
|
property var screens: new Map()
|
|
property var bars: new Map()
|
|
|
|
function load(screen: ShellScreen, visibilities: var): void {
|
|
screens.set(Hypr.monitorFor(screen), visibilities);
|
|
}
|
|
|
|
function getForActive(): PersistentProperties {
|
|
return screens.get(Hypr.focusedMonitor);
|
|
}
|
|
}
|