This commit is contained in:
commit
95a533c876
451 changed files with 18255 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.wayland.windowManager.hyprland;
|
||||
app = cfg.applications.bluetoothsettings.default;
|
||||
|
||||
inherit (lib) mkIf;
|
||||
in
|
||||
{
|
||||
config = mkIf (cfg.enable && app == "dmenu-bluetooth") {
|
||||
home.packages = with pkgs; [ dmenu-bluetooth ];
|
||||
|
||||
home.sessionVariables = {
|
||||
DMENU_BLUETOOTH_LAUNCHER = cfg.applications.applauncher.default or "bemenu";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue