From 69f64dbb66da052194dc11f59e20b38e52a15b9e Mon Sep 17 00:00:00 2001 From: Federico <16429579+rawnly@users.noreply.github.com> Date: Sat, 2 Dec 2023 18:16:09 +0100 Subject: [PATCH] Update docs/config/lua/keyassignment/SetWindowLevel.md Co-authored-by: Wez Furlong --- docs/config/lua/keyassignment/SetWindowLevel.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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") }, } ```