From b3312d539e18de08f3534f7f67fa307d68ffffa1 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 10 Mar 2023 15:12:52 +0100 Subject: [PATCH] [Newm] New keybinding for connecting to bluetooth devices --- .config/newm/config.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/newm/config.py b/.config/newm/config.py index 8403041..972fcfd 100644 --- a/.config/newm/config.py +++ b/.config/newm/config.py @@ -141,7 +141,11 @@ leader: str = "L-Spc " def key_bindings(layout: Layout) -> list[tuple[str, Callable[[], Any]]]: return [ ("L-Return", lambda: os.system("kitty &")), - (leader + "a r", lambda: run_shell("rofi -combi-modi drun,window -show combi")), + (leader + "a r b", lambda: run_shell("bluetooth-connect")), + ( + leader + "a r r", + lambda: run_shell("rofi -combi-modi drun,window -show combi"), + ), (leader + "a b", lambda: run_shell("firefox")), (leader + "a d", lambda: run_shell("discord")), (leader + "a e", lambda: run_shell("emacsclient -c")),