summaryrefslogtreecommitdiff
path: root/modules/launcher/Actions.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/launcher/Actions.qml')
-rw-r--r--modules/launcher/Actions.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/launcher/Actions.qml b/modules/launcher/Actions.qml
index da6f726..bca8930 100644
--- a/modules/launcher/Actions.qml
+++ b/modules/launcher/Actions.qml
@@ -10,8 +10,19 @@ import QtQuick
Singleton {
id: root
+ property string qalcResult
+
readonly property list<Action> list: [
Action {
+ name: qsTr("Calculator")
+ desc: qsTr("Do simple math equations (powered by Qalc)")
+ icon: "calculate"
+
+ function onClicked(list: AppList): void {
+ root.autocomplete(list, "calc");
+ }
+ },
+ Action {
name: qsTr("Scheme")
desc: qsTr("Change the current colour scheme")
icon: "palette"