Turn the lock screen into an unfolding glass dashboard

At rest the lock screen shows the date, glass clock and Now Playing. Typing
or clicking opens a glass card with avatar, name, status and password, then
wings unfold: weather (with the next forecasts) and system usage on the
left, notifications and media with Cava on the right, reusing the desktop
widget faces. Adds a Caps Lock warning, power controls behind a corner
button, and Dashboard and Notification previews settings. The screenshot
backdrop is now always fully blurred and dimmed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-15 18:07:46 +02:00
1 parent 4fa0c2c042
commit b96b0cb683
12 files changed
+1114 -330

No files matched your search

+9
View File
@@ -141,6 +141,15 @@ Item {
const surface = LockState.surfaces[index];
return !!surface && surface.grabToImage(result => result.saveToFile(path));
}
function lockDashboard(open: bool): int {
for (const surface of LockState.surfaces) {
if (open)
surface.openDashboard();
else
surface.closeDashboard();
}
return LockState.surfaces.length;
}
function lockSubmit(text: string): bool {
return LockState.submit(text, LockState.previewing ? "preview" : "test");
}