diff --git a/modules/desktop/terminal.nix b/modules/desktop/terminal.nix index 56a99e8..3274c32 100644 --- a/modules/desktop/terminal.nix +++ b/modules/desktop/terminal.nix @@ -1,11 +1,13 @@ -{ config, lib, pkgs, ... }: +{ config, lib, ... }: -with lib; -with lib.my; -let cfg = config.modules.desktop.terminal; -in { - options.modules.desktop.terminal = { enable = mkBoolOpt false; }; - config = mkIf cfg.enable { +let + cfg = config.modules.desktop.terminal; +in +{ + options.modules.desktop.terminal = { + enable = lib.my.mkBoolOpt false; + }; + config = lib.mkIf cfg.enable { home-manager.users.${config.user.name} = { programs.kitty = { enable = true; @@ -15,8 +17,7 @@ in { enable_audio_bell = false; font_family = "Meslo LG S"; font_size = 10; - symbol_map = - "U+e000-U+e00a,U+ea60-U+ebeb,U+e0a0-U+e0c8,U+e0ca,U+e0cc-U+e0d4,U+e200-U+e2a9,U+e300-U+e3e3,U+e5fa-U+e6b1,U+e700-U+e7c5,U+f000-U+f2e0,U+f300-U+f372,U+f400-U+f532,U+f0001-U+f1af0 Symbols Nerd Font Mono"; + symbol_map = "U+e000-U+e00a,U+ea60-U+ebeb,U+e0a0-U+e0c8,U+e0ca,U+e0cc-U+e0d4,U+e200-U+e2a9,U+e300-U+e3e3,U+e5fa-U+e6b1,U+e700-U+e7c5,U+f000-U+f2e0,U+f300-U+f372,U+f400-U+f532,U+f0001-U+f1af0 Symbols Nerd Font Mono"; }; keybindings = { "ctrl+up" = "change_font_size all +2.0"; @@ -25,6 +26,7 @@ in { "shift+page_down" = "scroll_page_down"; "ctrl+shift+comma" = "scroll_to_prompt -1"; "ctrl+shift+semicolon" = "scroll_to_prompt 1"; + "ctrl+shift+t" = "new_tab_with_cwd"; }; theme = "Gruvbox Dark"; };