From 07cb17abe918cae561a4742938a0e9f6ad229708 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Mon, 6 Nov 2023 18:33:34 +0100 Subject: [PATCH] add kitty terminal --- modules/home/default.nix | 1 + modules/home/hyprland/config.nix | 3 ++- modules/home/kitty/default.nix | 20 ++++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 modules/home/kitty/default.nix diff --git a/modules/home/default.nix b/modules/home/default.nix index 55e7248..5425480 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -11,6 +11,7 @@ ++ [ (import ./btop) ] ++ [ (import ./bat) ] ++ [ (import ./cava) ] + ++ [ (import ./kitty) ] ++ [ (import ./foot) ] ++ [ (import ./swaylock) ] ++ [ (import ./wofi) ] diff --git a/modules/home/hyprland/config.nix b/modules/home/hyprland/config.nix index 3d1fdf1..9ec5dfd 100644 --- a/modules/home/hyprland/config.nix +++ b/modules/home/hyprland/config.nix @@ -87,7 +87,8 @@ in # ---------------------------------------------------------------- # keybindings - bind = $mainMod, Return, exec, foot + # bind = $mainMod, Return, exec, foot + bind = $mainMod, Return, exec, kitty bind = $mainMod SHIFT, Return, exec, foot --fullscreen bind = $mainMod, Q, killactive, bind = $mainMod, T, killactive, diff --git a/modules/home/kitty/default.nix b/modules/home/kitty/default.nix new file mode 100644 index 0000000..b1e2da9 --- /dev/null +++ b/modules/home/kitty/default.nix @@ -0,0 +1,20 @@ +{ pkgs, ... }: +{ + programs.kitty = { + enable = true; + + theme = "Catppuccin-Mocha"; + + font = { + name = "JetBrainsMono Nerd Font"; + size = 13; + }; + + settings = { + background_opacity = "0.55"; + window_padding_width = 5; + scrollback_lines = 10000; + enable_audio_bell = false; + }; + }; +} \ No newline at end of file