From 3363d9eb777b442181904e81b7486fec8b056e8f Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 21 Nov 2022 17:20:09 +0100 Subject: [PATCH] [Newm] Add keybinding for locking the screen --- .config/newm/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/newm/config.py b/.config/newm/config.py index 73a2d0d..769d759 100644 --- a/.config/newm/config.py +++ b/.config/newm/config.py @@ -139,6 +139,7 @@ def key_bindings(layout: Layout) -> list[tuple[str, Callable[[], Any]]]: (leader + "a b", lambda: run_shell("firefox")), (leader + "a d", lambda: run_shell("discord")), (leader + "a e", lambda: run_shell("emacsclient -c")), + (leader + "l", layout.ensure_locked), (leader + "w f", layout.toggle_fullscreen), (leader + "w v", layout.toggle_focused_view_floating), (leader + "w +", lambda: layout.basic_scale(1)),