diff --git a/homes/min/hyprland.nix b/homes/min/hyprland.nix index de0a77e..82c0833 100644 --- a/homes/min/hyprland.nix +++ b/homes/min/hyprland.nix @@ -1,11 +1,19 @@ -_: { +{pkgs, ...}: { programs.kitty = { enable = true; shellIntegration.enableZshIntegration = true; }; + # electron app hint + home.sessionVariables.NIXOS_OZONE_WL = "1"; + wayland.windowManager.hyprland = { enable = true; xwayland.enable = true; + + settings = { + "$mod" = "SUPER"; + bind = ["$mod, Return, exec, ${pkgs.kitty}/bin/kitty"]; + }; }; }