[Newm] New keybinding for connecting to bluetooth devices

This commit is contained in:
Lucien Cartier-Tilet 2023-03-10 15:12:52 +01:00
parent a27ce0ddf0
commit b3312d539e
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 5 additions and 1 deletions

View File

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