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 ```