diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-06 17:57:10 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-06 17:57:10 +0100 |
| commit | 157d6070847d4e1ce76c5d7cf6d118f25ffa13de (patch) | |
| tree | f38785056e11ed40473688ad818de7a6856d2031 /desktop/modules/appearance/MockScreen.qml | |
| parent | f785fc53aeaf64a7ca034e987621f53e7ff8d773 (diff) | |
| download | quickshell-157d6070847d4e1ce76c5d7cf6d118f25ffa13de.tar.gz quickshell-157d6070847d4e1ce76c5d7cf6d118f25ffa13de.zip | |
wallpaper: one monitor to preview, a line per transition
Selecting was unclear with a tile doing both jobs. A mock monitor now
plays whatever line is clicked, and a click changes nothing else; the
choice is an Active mark per line, and Random's pool a Switch beside it.
Each line shows a frame caught halfway through its transition.
MockScreen takes children, drawn on its panel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/appearance/MockScreen.qml')
| -rw-r--r-- | desktop/modules/appearance/MockScreen.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/modules/appearance/MockScreen.qml b/desktop/modules/appearance/MockScreen.qml index 7f6870b..d8e14c9 100644 --- a/desktop/modules/appearance/MockScreen.qml +++ b/desktop/modules/appearance/MockScreen.qml @@ -21,6 +21,8 @@ Item { property string label: "" property string source: "" property bool targeted: false + // Drawn on the panel, over the picture. + default property alias content: panel.data // The panel's size; the bezel and stand are added around it. property real panelWidth: 100 @@ -49,6 +51,7 @@ Item { // Screen. Rectangle { + id: panel anchors.centerIn: parent width: mock.panelWidth height: mock.panelHeight |
