init: working version
This commit is contained in:
commit
7d8d7dacae
109 changed files with 15066 additions and 0 deletions
16
util/States.qml
Normal file
16
util/States.qml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
pragma Singleton
|
||||
|
||||
import Quickshell
|
||||
import qs.services
|
||||
|
||||
Singleton {
|
||||
property var screens: new Map()
|
||||
|
||||
function load(screen: ShellScreen, uiState: var): void {
|
||||
screens.set(Hypr.monitorFor(screen), uiState);
|
||||
}
|
||||
|
||||
function getForActive(): PersistentProperties {
|
||||
return screens.get(Hypr.focusedMonitor);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue