forked from Shinonome/dots-hyprland
dock: dont aggressively unload
This commit is contained in:
@@ -19,12 +19,7 @@ Scope { // Scope
|
||||
Variants { // For each monitor
|
||||
model: Quickshell.screens
|
||||
|
||||
LazyLoader {
|
||||
id: dockLoader
|
||||
required property var modelData
|
||||
activeAsync: Config.options?.dock.hoverToReveal || (!ToplevelManager.activeToplevel?.activated)
|
||||
|
||||
component: PanelWindow { // Window
|
||||
PanelWindow { // Window
|
||||
id: dockRoot
|
||||
screen: dockLoader.modelData
|
||||
|
||||
@@ -147,4 +142,3 @@ Scope { // Scope
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user