diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-23 16:12:53 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-23 16:12:53 +1000 |
| commit | fffc6b07a994c272965abe99bfcc811c3ae972ab (patch) | |
| tree | b522dc7d42ad33c9ced22d658ba040f5ffd9d5d8 | |
| parent | launcher: exact calculation for wallpaper width (diff) | |
| download | caelestia-shell-fffc6b07a994c272965abe99bfcc811c3ae972ab.tar.gz caelestia-shell-fffc6b07a994c272965abe99bfcc811c3ae972ab.tar.bz2 caelestia-shell-fffc6b07a994c272965abe99bfcc811c3ae972ab.zip | |
launcher: add random wallpaper action
| -rw-r--r-- | modules/launcher/services/Actions.qml | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ -58,6 +58,16 @@ Searcher { } }, 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") icon: "light_mode" |