diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-10 11:32:12 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-10 11:32:12 +0100 |
| commit | c484dad921d46982a675a051cf44bb6be4e14b44 (patch) | |
| tree | 6abd400038f13852ac93b1ce7a65fffc64116058 /desktop/modules/deckit/DeckItPage.qml | |
| parent | dc108b1993baadf779b1c4ff06f6c49e0afb97cf (diff) | |
| download | quickshell-c484dad921d46982a675a051cf44bb6be4e14b44.tar.gz quickshell-c484dad921d46982a675a051cf44bb6be4e14b44.zip | |
feat(deckit): status and Restart in the page header
Move the deck-it status line from the page body to the header, beside
Save, as the Wallpaper engine page does, and send a Restart's outcome to
the window's snackbar instead of a line under it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/deckit/DeckItPage.qml')
| -rw-r--r-- | desktop/modules/deckit/DeckItPage.qml | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/desktop/modules/deckit/DeckItPage.qml b/desktop/modules/deckit/DeckItPage.qml index 070b2be..fe4092c 100644 --- a/desktop/modules/deckit/DeckItPage.qml +++ b/desktop/modules/deckit/DeckItPage.qml @@ -50,33 +50,6 @@ Column { Component.onCompleted: DeckIt.watchers++ Component.onDestruction: DeckIt.watchers-- - Item { - width: col.width - height: 34 - Rectangle { - id: dot - anchors { left: parent.left; verticalCenter: parent.verticalCenter } - width: 10; height: 10; radius: 5 - color: DeckIt.healthy ? Theme.green : DeckIt.status && (DeckIt.status.server || DeckIt.status.waiting) - ? Theme.yellow : Theme.red - } - Text { - anchors { left: dot.right; leftMargin: 10; right: restartBtn.left; rightMargin: 8; verticalCenter: parent.verticalCenter } - elide: Text.ElideRight - text: DeckIt.summary - color: Theme.text - font { family: Theme.fontFamily; pixelSize: Theme.fontSize - 3 } - } - Button { - id: restartBtn - anchors { right: parent.right; verticalCenter: parent.verticalCenter } - text: DeckIt.restartAt ? "Restarting…" : "Restart deck-it" - enabled: !DeckIt.restartAt - onClicked: DeckIt.restart() - } - } - Small { visible: DeckIt.note !== ""; color: DeckIt.noteBad ? Theme.red : Theme.green; text: DeckIt.note } - Heading { text: "Start" } Item { objectName: "autostart/" |
