From 13f46f49ce6e43585811c2e0d0eb475f4aba9d9b Mon Sep 17 00:00:00 2001 From: min Date: Wed, 1 Jan 2025 01:16:14 -0500 Subject: [PATCH] fix hyprland bind? --- homes/min/hyprland.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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"]; + }; }; }