summaryrefslogtreecommitdiff
path: root/shell.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-08-05 17:25:30 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-08-05 17:25:30 +0800
commitf9efa56caeeb5289d6b2314e50041a1b7055a3c8 (patch)
tree8a9e5b59f8690555ba8ad51f653db02d9483e2a7 /shell.qml
parentf6b5ac3cfba03602fea9d8c30b13075514dbd131 (diff)
feat: add launcher support and image clipboard history utility
- Integrated a new Launcher component into the shell.qml for improved application launching. - Implemented an IPC handler to toggle the launcher visibility. - Added a new script (cliphist-img.sh) to manage image history from the clipboard. - Removed the outdated fuzzysort.js utility to streamline the codebase. - Refactored the Levenshtein distance algorithm for better performance and clarity.
Diffstat (limited to 'shell.qml')
-rw-r--r--shell.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/shell.qml b/shell.qml
index 9717548..0c5e13e 100644
--- a/shell.qml
+++ b/shell.qml
@@ -1,12 +1,19 @@
import Quickshell
import Quickshell.Io
import "bar"
+import "launcher"
import QtQuick
import QtQuick.Layouts
Scope {
Bar {}
+ LazyLoader {
+ id: launcherLoader
+ component: Launcher {
+ parentLoader: launcherLoader
+ }
+ }
IpcHandler {
target: "qs"
@@ -15,6 +22,13 @@ Scope {
Quickshell.reload(hard);
}
}
+ IpcHandler {
+ target: "launcher"
+
+ function toggle() {
+ launcherLoader.active = !launcherLoader.active;
+ }
+ }
Connections {
target: Quickshell