mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Add clipboard ipc call, edit README
This commit is contained in:
@@ -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])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user