nix: alacritty: fix nvim termguicolors
Anirudh Oppiliappan x@icyphox.sh
Sat, 13 Jul 2024 13:13:04 +0300
2 files changed,
6 insertions(+),
1 deletions(-)
M
programs/alacritty.nix
→
programs/alacritty.nix
@@ -12,19 +12,23 @@ normal = { family = "SF Mono"; style = "Light"; };
bold = { family = "SF Mono"; style = "Semibold"; }; italic = { family = "SF Mono"; style = "Light Italic"; }; size = 15.0; - offset.y = 5; + offset.y = 10; } else { normal = { family = "Input"; style = "Regular"; }; bold = { family = "Input"; style = "Bold"; }; italic = { family = "Input"; style = "Italic"; }; size = 12.0; + offset.y = 10; }; in { programs.alacritty = { enable = true; settings = { + env = { + TERM = "xterm-256color"; + }; window = { padding.x = 10; padding.y = 10;
M
programs/tmux.nix
→
programs/tmux.nix
@@ -95,6 +95,7 @@ set -g window-active-style 'fg=color7,bg=default'
set -g default-terminal "xterm-256color" set -ga terminal-overrides ',xterm-256color:Tc' + set -sa terminal-features ",xterm-256color:RGB" set -as terminal-overrides ',xterm*:sitm=\E[3m' set -g default-shell "/etc/profiles/per-user/icy/bin/fish"