Added bluetooth rofi menu

This commit is contained in:
marc
2022-11-21 17:38:15 +01:00
parent 8617646685
commit 05ab00e134
4 changed files with 473 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
let
cfg = config.samfelag.modules.system.bluetooth;
desktopCfg = config.samfelag.modules.desktop;
in
{
options.samfelag.modules.system.bluetooth = {
@@ -10,5 +11,9 @@ in
config = lib.mkIf cfg.enable {
hardware.bluetooth.enable = true;
services.blueman.enable = true;
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf desktopCfg.enable {
"${desktopCfg.i3.mod}+b" = "exec $HOME/.config/rofi/bluetooth/bluetooth.sh";
};
};
}