From fffc6b07a994c272965abe99bfcc811c3ae972ab Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 23 Aug 2025 16:12:53 +1000 Subject: launcher: add random wallpaper action --- modules/launcher/services/Actions.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules') diff --git a/modules/launcher/services/Actions.qml b/modules/launcher/services/Actions.qml index be1fc72..8259437 100644 --- a/modules/launcher/services/Actions.qml +++ b/modules/launcher/services/Actions.qml @@ -57,6 +57,16 @@ Searcher { root.autocomplete(list, "transparency"); } }, + Action { + name: qsTr("Random") + desc: qsTr("Switch to a random wallpaper") + icon: "casino" + + function onClicked(list: AppList): void { + list.visibilities.launcher = false; + Quickshell.execDetached(["caelestia", "wallpaper", "-r"]); + } + }, Action { name: qsTr("Light") desc: qsTr("Change the scheme to light mode") -- cgit v1.2.3-freya