Update docs/config/lua/keyassignment/SetWindowLevel.md
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
This commit is contained in:
1 parent
7bc24ebb4d
commit
69f64dbb66
1 file changed
+3
-6
@@ -10,24 +10,21 @@ Accepted values:
|
||||
* `"AlwaysOnTop"`
|
||||
|
||||
```lua
|
||||
local act = wezterm.action
|
||||
local config = {}
|
||||
|
||||
config.keys = {
|
||||
{
|
||||
key = '[',
|
||||
mods = 'CMD',
|
||||
action = act.SetWindowLevel("AlwaysOnBottom")
|
||||
action = wezterm.action.SetWindowLevel("AlwaysOnBottom")
|
||||
},
|
||||
{
|
||||
key = '0',
|
||||
mods = 'CMD|SHIFT',
|
||||
action = act.SetWindowLevel("Normal")
|
||||
action = wezterm.action.SetWindowLevel("Normal")
|
||||
},
|
||||
{
|
||||
key = ']',
|
||||
mods = 'CMD',
|
||||
action = act.SetWindowLevel("AlwaysOnTop")
|
||||
action = wezterm.action.SetWindowLevel("AlwaysOnTop")
|
||||
},
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user