From 1f9dec3e4c23f012bdd5fe269b3e50d52d58853e Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sun, 24 Aug 2025 12:18:36 +0200 Subject: [PATCH] Add clipboard ipc call, edit README --- Modules/IPC/IPCManager.qml | 8 +++++++- README.md | 18 +++++++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/Modules/IPC/IPCManager.qml b/Modules/IPC/IPCManager.qml index e8ac25c..93a1add 100644 --- a/Modules/IPC/IPCManager.qml +++ b/Modules/IPC/IPCManager.qml @@ -33,13 +33,17 @@ Item { } } - // For backward compatibility, should be removed soon(tmc) IpcHandler { target: "appLauncher" function toggle() { launcherPanel.toggle(Quickshell.screens[0]) } + + function clipboard() { + launcherPanel.toggle(Quickshell.screens[0]) + launcherPanel.searchText = ">clip " + } } IpcHandler { @@ -81,4 +85,6 @@ Item { powerPanel.toggle(Quickshell.screens[0]) } } + + } diff --git a/README.md b/README.md index 8f5130b..7895371 100644 --- a/README.md +++ b/README.md @@ -100,9 +100,25 @@ mkdir -p ~/.config/quickshell && curl -sL https://github.com/noctalia-dev/noctal # Start the shell qs -# Toggle launcher +# Launcher qs ipc call appLauncher toggle +# Clipboard History +qs ipc call appLauncher clipboard + +# Brightness +qs ipc call brightness increase +qs ipc call brightness decrease + +# Power Panel +qs ipc call powerPanel toggle + +# Idle Inhibitor +qs ipc call idleInhibitor toggle + +# Settings Window +qs ipc call settings toggle + # Toggle lock screen qs ipc call lockScreen toggle ```