mirror of
https://github.com/swaywm/sway.git
synced 2026-03-11 05:34:18 -04:00
Add get_binding_modes message type to ipc
This commit is contained in:
parent
c1bb73f865
commit
5fd36164a0
4 changed files with 20 additions and 0 deletions
|
|
@ -407,6 +407,8 @@ int main(int argc, char **argv) {
|
|||
type = IPC_GET_BAR_CONFIG;
|
||||
} else if (strcasecmp(cmdtype, "get_version") == 0) {
|
||||
type = IPC_GET_VERSION;
|
||||
} else if (strcasecmp(cmdtype, "get_binding_modes") == 0) {
|
||||
type = IPC_GET_BINDING_MODES;
|
||||
} else if (strcasecmp(cmdtype, "get_clipboard") == 0) {
|
||||
type = IPC_GET_CLIPBOARD;
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -59,6 +59,9 @@ _swaymsg_ [options...] [message]
|
|||
*get\_version*
|
||||
Get JSON-encoded version information for the running instance of sway.
|
||||
|
||||
*get\_binding\_modes*
|
||||
Gets a JSON-encoded list of currently configured binding modes.
|
||||
|
||||
*get\_clipboard*
|
||||
Get JSON-encoded information about the clipboard.
|
||||
Returns the current clipboard mime-types if called without
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue