From 0d87934ee0155da192ffa258a3f33d767e829709 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 15 Oct 2021 17:19:12 +0200 Subject: [PATCH] home: wm: i3: add 'rofi-bluetooth' binding --- home/wm/i3/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/wm/i3/default.nix b/home/wm/i3/default.nix index a0b63be..94cec6d 100644 --- a/home/wm/i3/default.nix +++ b/home/wm/i3/default.nix @@ -198,6 +198,12 @@ in "${modifier}+Shift+d" = "exec rofi -show run -disable-history"; "${modifier}+p" = "exec --no-startup-id flameshot gui"; "${modifier}+Shift+p" = "exec rofi -show emoji"; + "${modifier}+b" = + let + inherit (config.my.home.bluetooth) enable; + prog = "${pkgs.ambroisie.rofi-bluetooth}/bin/rofi-bluetooth"; + in + lib.mkIf enable "exec ${prog}"; }) ( # Changing container focus