launcher: add random wallpaper action

This commit is contained in:
2 * r + 2 * t 2025-08-23 16:12:53 +10:00
parent 66c0d0a15f
commit fffc6b07a9

View file

@ -57,6 +57,16 @@ Searcher {
root.autocomplete(list, "transparency"); 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 { Action {
name: qsTr("Light") name: qsTr("Light")
desc: qsTr("Change the scheme to light mode") desc: qsTr("Change the scheme to light mode")