diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index fe18294..870b67c 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -9,7 +9,11 @@ let in { - programs.kitty.enable = true; + imports = [ + ./kitty.nix # Terminal + ]; + + wayland.windowManager.hyprland = { inherit package; enable = true; @@ -21,7 +25,6 @@ in #inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprbars ]; }; - home.sessionVariables.NIXOS_OZONE_WL = "1"; wayland.windowManager.hyprland.settings = { env = [ diff --git a/home/hyprland/kitty.nix b/home/hyprland/kitty.nix new file mode 100644 index 0000000..38d7717 --- /dev/null +++ b/home/hyprland/kitty.nix @@ -0,0 +1,38 @@ +{ pkgs, lib, ... }: +{ + programs.kitty = lib.mkForce { + enable = true; + settings = { + confirm_os_window_close = 0; + dynamic_background_opacity = true; + enable_audio_bell = false; + mouse_hide_wait = "-1.0"; + window_padding_width = 10; + background_opacity = "0.5"; + background_blur = 5; + symbol_map = let + mappings = [ + "U+23FB-U+23FE" + "U+2B58" + "U+E200-U+E2A9" + "U+E0A0-U+E0A3" + "U+E0B0-U+E0BF" + "U+E0C0-U+E0C8" + "U+E0CC-U+E0CF" + "U+E0D0-U+E0D2" + "U+E0D4" + "U+E700-U+E7C5" + "U+F000-U+F2E0" + "U+2665" + "U+26A1" + "U+F400-U+F4A8" + "U+F67C" + "U+E000-U+E00A" + "U+F300-U+F313" + "U+E5FA-U+E62B" + ]; + in + (builtins.concatStringsSep "," mappings) + " Symbols Nerd Font"; + }; + }; +}