move picker to main panelwindow to reduce vram usage

This commit is contained in:
2026-10-04 18:20:10 +02:00
parent 5507b99fdc
commit 2c88b7abcb
9 changed files with 133 additions and 128 deletions
+6 -1
View File
@@ -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 {
}
}
}