[Newm] Add keybinding for locking the screen
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lucien Cartier-Tilet 2022-11-21 17:20:09 +01:00
parent b723c1a591
commit 3363d9eb77
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -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)),