aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/appearance/WallpaperTab.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-31 10:06:35 +0100
committerDanilo M. <danix@danix.xyz>2026-10-31 10:06:35 +0100
commite89994621d81168c6a5ee15adcb798e449bcc4f2 (patch)
tree1af77100b0e277fd2ba91d0ab6eefba71ce1c4d0 /desktop/modules/appearance/WallpaperTab.qml
parent8798809231f386de9bdd877246371a907bdf766f (diff)
downloadquickshell-e89994621d81168c6a5ee15adcb798e449bcc4f2.tar.gz
quickshell-e89994621d81168c6a5ee15adcb798e449bcc4f2.zip
wallpaper: keep the pair the engine put up
The engine's ticks are light runs: udt-accent leaves GRUB, the homepage and SDDM on the home pair. When a tick lands on a combination worth keeping, there was no way to promote it short of re-picking both images by hand. "Keep this pair" reruns wallp on the current pair without UDT_ROTATION, so the full run brings those three along, and makes it the engine's home, so switching the engine off does not undo it. The timer restarts, as after a pick by hand. The button shows only while the engine is on and the pair up differs from home, so it hides once kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/appearance/WallpaperTab.qml')
-rw-r--r--desktop/modules/appearance/WallpaperTab.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/modules/appearance/WallpaperTab.qml b/desktop/modules/appearance/WallpaperTab.qml
index 134c90e..136b24d 100644
--- a/desktop/modules/appearance/WallpaperTab.qml
+++ b/desktop/modules/appearance/WallpaperTab.qml
@@ -178,6 +178,15 @@ Column {
onClicked: decided ? Wallpapers.upscaleFile(actions.staged) : Wallpapers.decide(actions.staged)
}
+ // The engine's ticks are light runs; this makes the pair up
+ // now a full one and the engine's home (WallEngine.keep).
+ Tab {
+ visible: WallEngine.keepable
+ enabled: !Wallpapers.applying
+ text: "Keep this pair"
+ onClicked: WallEngine.keep()
+ }
+
// Apply and Reset are in the page header, with every settings
// page's.
// wallhaven-dl searches wallhaven.cc and finds larger