launcher: add random wallpaper action
This commit is contained in:
parent
66c0d0a15f
commit
fffc6b07a9
1 changed files with 10 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue