Update docs/config/lua/keyassignment/SetWindowLevel.md

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
This commit is contained in:
FedericoandWez Furlong authored and Wez Furlong committed 2024-01-21 14:06:01 -07:00
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")
},
}
```