ooknet/home/modules/desktop/tools/ookpower.nix

15 lines
295 B
Nix

{
lib,
config,
inputs,
pkgs,
...
}: let
inherit (lib) mkIf;
inherit (config.ooknet.wayland) launcher;
in {
config = mkIf (launcher == "rofi") {
home.packages = [inputs.ooks-scripts.packages.${pkgs.system}.powermenu];
ooknet.binds.powerMenu = "powermenu -c dmenu";
};
}