mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
bar: use lazyloader
This commit is contained in:
parent
f52cfc3df0
commit
c5982a3ee1
1 changed files with 3 additions and 3 deletions
|
|
@ -37,11 +37,11 @@ Scope {
|
|||
return screens;
|
||||
return screens.filter(screen => list.includes(screen.name));
|
||||
}
|
||||
Loader {
|
||||
LazyLoader {
|
||||
id: barLoader
|
||||
active: GlobalStates.barOpen
|
||||
activeAsync: GlobalStates.barOpen
|
||||
required property ShellScreen modelData
|
||||
sourceComponent: PanelWindow { // Bar window
|
||||
component: PanelWindow { // Bar window
|
||||
id: barRoot
|
||||
screen: barLoader.modelData
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue