From a9094787588a9f4a115dcb4777de6e1bf6a8585d Mon Sep 17 00:00:00 2001 From: valerie Date: Sun, 24 Nov 2024 22:23:28 -0500 Subject: [PATCH] feat: various terminal improvements --- home/dotfiles/wezterm.lua | 6 ++--- home/modules/term/default.nix | 47 +++++++++++++++++++++++++++-------- home/valerie/home.nix | 2 +- 3 files changed, 40 insertions(+), 15 deletions(-) diff --git a/home/dotfiles/wezterm.lua b/home/dotfiles/wezterm.lua index df5c81a..22c42f0 100644 --- a/home/dotfiles/wezterm.lua +++ b/home/dotfiles/wezterm.lua @@ -2,7 +2,7 @@ local wezterm = require("wezterm") local config = wezterm.config_builder() -config.color_scheme = "nordfox" +config.color_scheme = "Gruvbox Material (Gogh)" config.use_fancy_tab_bar = false config.window_decorations = "RESIZE" config.hide_tab_bar_if_only_one_tab = true @@ -12,7 +12,7 @@ config.font = wezterm.font_with_fallback({ }) config.font_size = 13 -config.line_height = 1.2 +-- config.line_height = 1.2 config.set_environment_variables = { TERM = "xterm-256color", @@ -37,7 +37,7 @@ config.unix_domains = { }, } config.freetype_load_flags = "DEFAULT" -config.window_background_opacity = 0.95 +config.window_background_opacity = 1.00 config.max_fps = 144 config.scrollback_lines = 10000 diff --git a/home/modules/term/default.nix b/home/modules/term/default.nix index 2f52d65..9d5b1b3 100644 --- a/home/modules/term/default.nix +++ b/home/modules/term/default.nix @@ -72,19 +72,44 @@ in { plugins = with pkgs.tmuxPlugins; [ vim-tmux-navigator yank - resurrect { - plugin = continuum; - extraConfig = '' - set -g @continuum-restore 'on' - ''; - } - { - plugin = nord; - extraConfig = '' - set -g status-position top - ''; + plugin = catppuccin; + extraConfig = /*tmux*/ '' + # NOTE: you can use vars with $ and $${} as long as the str is double quoted: "" + # WARNING: hex colors can't contain capital letters + + # --> Gruvbox (Material) + set -g @thm_bg "#222526" + set -g @thm_fg "#d4be98" + set -g @thm_cyan "#89b482" + set -g @thm_black "#665c54" + set -g @thm_gray "#504945" + set -g @thm_magenta "#d3869b" + set -g @thm_pink "#ea6962" + set -g @thm_red "#ea6962" + set -g @thm_green "#a9b665" + set -g @thm_yellow "#d8a657" + set -g @thm_blue "#7daea3" + set -g @thm_orange "#e78a4e" + set -g @thm_black4 "#928374" + + set -g @catppuccin_window_status_style "slanted" + set -g status-position top + ''; } + # resurrect + # { + # plugin = continuum; + # extraConfig = '' + # set -g @continuum-restore 'on' + # ''; + # } + # { + # plugin = nord; + # extraConfig = '' + # set -g status-position top + # ''; + # } # { # plugin = tokyo-night-tmux; # extraConfig = '' diff --git a/home/valerie/home.nix b/home/valerie/home.nix index 4a1ec6b..a0ecd2f 100644 --- a/home/valerie/home.nix +++ b/home/valerie/home.nix @@ -35,7 +35,7 @@ in { ]); sessionVariables = { NIX_AUTO_RUN = "1"; - FLAKE = "/home/valerie/nixos"; + NH_FLAKE = "/home/valerie/nixos"; }; stateVersion = "24.11"; };