mirror of
https://github.com/wez/wezterm.git
synced 2024-11-23 15:04:36 +03:00
Update docs/config/lua/keyassignment/SetWindowLevel.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
This commit is contained in:
parent
7bc24ebb4d
commit
69f64dbb66
@ -10,24 +10,21 @@ Accepted values:
|
|||||||
* `"AlwaysOnTop"`
|
* `"AlwaysOnTop"`
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
local act = wezterm.action
|
|
||||||
local config = {}
|
|
||||||
|
|
||||||
config.keys = {
|
config.keys = {
|
||||||
{
|
{
|
||||||
key = '[',
|
key = '[',
|
||||||
mods = 'CMD',
|
mods = 'CMD',
|
||||||
action = act.SetWindowLevel("AlwaysOnBottom")
|
action = wezterm.action.SetWindowLevel("AlwaysOnBottom")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = '0',
|
key = '0',
|
||||||
mods = 'CMD|SHIFT',
|
mods = 'CMD|SHIFT',
|
||||||
action = act.SetWindowLevel("Normal")
|
action = wezterm.action.SetWindowLevel("Normal")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key = ']',
|
key = ']',
|
||||||
mods = 'CMD',
|
mods = 'CMD',
|
||||||
action = act.SetWindowLevel("AlwaysOnTop")
|
action = wezterm.action.SetWindowLevel("AlwaysOnTop")
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user