Add a coffee break

Every so often a mug appears at the cat's nose, it sits down, dips its head in
and takes a few slow sips while steam rises. M01, optional stop.

The mug lives in its own click-through window like the chip, or inside the
overlay on Wayland. It goes away as soon as the cat is petted, dragged, sent to
sleep or moves on to something else, so no mug is ever left standing.

Also renames OverlayWindow's mode flag, which shadowed QWindow::active.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
JulianandClaude Opus 5 committed 2026-09-10 23:00:22 +02:00
1 parent 0f1df75a1d
commit 403ac30b3a
14 files changed
+283 -18

No files matched your search

+7 -1
View File
@@ -28,10 +28,16 @@ QtObject {
visible: !Platform.overlayMode && app.cat.chipVisible
}
readonly property CupWindow cupWindow: CupWindow {
cat: app.cat
settings: app.settings
visible: !Platform.overlayMode && app.cat.cupVisible
}
readonly property OverlayWindow overlayWindow: OverlayWindow {
cat: app.cat
settings: app.settings
active: Platform.overlayMode
overlayActive: Platform.overlayMode
onSettingsRequested: app.openSettings()
}