diff --git a/docs/config/lua/keyassignment/SetWindowLevel.md b/docs/config/lua/keyassignment/SetWindowLevel.md index 9f038f0fa..04f35ce3b 100644 --- a/docs/config/lua/keyassignment/SetWindowLevel.md +++ b/docs/config/lua/keyassignment/SetWindowLevel.md @@ -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") }, } ```