mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-07 14:55:30 +02:00
Started working on keyboard shortcuts
This commit is contained in:
parent
4402ed8fc1
commit
cc024a4528
8 changed files with 27 additions and 4 deletions
19
docs/key-shortcuts.md
Normal file
19
docs/key-shortcuts.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
# Custom Keyboard Shortcuts
|
||||
|
||||
```json
|
||||
{
|
||||
"<shortcut-id>": {
|
||||
"key": "<key>",
|
||||
"alt": false,
|
||||
"shift": false,
|
||||
"ctrl": false,
|
||||
"meta": false,
|
||||
"keycode": 0
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The `key` field is the key that will trigger the shortcut. The `alt`, `shift`, `ctrl`, and `meta` fields are booleans that indicate if the respective modifier key should be pressed when the shortcut is triggered.
|
||||
|
||||
The `keycode` field is the keycode of the key that will trigger the shortcut. This field is optional and can be used to specify the keycode of the key that will trigger the shortcut. If the `keycode` field is specified, the `key` field will be ignored.
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
# Workspaces Layout
|
||||
|
||||
```
|
||||
```json
|
||||
{
|
||||
"workspaces": [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue