Add clipboard ipc call, edit README
This commit is contained in:
parent
f8f1e789d4
commit
1f9dec3e4c
2 changed files with 24 additions and 2 deletions
|
|
@ -33,13 +33,17 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// For backward compatibility, should be removed soon(tmc)
|
|
||||||
IpcHandler {
|
IpcHandler {
|
||||||
target: "appLauncher"
|
target: "appLauncher"
|
||||||
|
|
||||||
function toggle() {
|
function toggle() {
|
||||||
launcherPanel.toggle(Quickshell.screens[0])
|
launcherPanel.toggle(Quickshell.screens[0])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function clipboard() {
|
||||||
|
launcherPanel.toggle(Quickshell.screens[0])
|
||||||
|
launcherPanel.searchText = ">clip "
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IpcHandler {
|
IpcHandler {
|
||||||
|
|
@ -81,4 +85,6 @@ Item {
|
||||||
powerPanel.toggle(Quickshell.screens[0])
|
powerPanel.toggle(Quickshell.screens[0])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
18
README.md
18
README.md
|
|
@ -100,9 +100,25 @@ mkdir -p ~/.config/quickshell && curl -sL https://github.com/noctalia-dev/noctal
|
||||||
# Start the shell
|
# Start the shell
|
||||||
qs
|
qs
|
||||||
|
|
||||||
# Toggle launcher
|
# Launcher
|
||||||
qs ipc call appLauncher toggle
|
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
|
# Toggle lock screen
|
||||||
qs ipc call lockScreen toggle
|
qs ipc call lockScreen toggle
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue