mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 12:23:46 +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