move picker to main panelwindow to reduce vram usage
This commit is contained in:
@@ -6,6 +6,10 @@ import qs.Components
|
||||
import qs.Helpers
|
||||
|
||||
Singleton {
|
||||
function allStates(): list<ScreenState> {
|
||||
return [...states.instances];
|
||||
}
|
||||
|
||||
function anySidebarOpen(): bool {
|
||||
return states.instances.some(s => s.sidebar);
|
||||
}
|
||||
@@ -30,6 +34,7 @@ Singleton {
|
||||
|
||||
model: Quickshell.screens
|
||||
|
||||
ScreenState {}
|
||||
ScreenState {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user