From 9fcb2b8dceb8629523c6a8fe77e2604cfd6bb35c Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Sat, 26 Jul 2025 00:36:08 +0200 Subject: [PATCH] Restore gruvbox truecolor theme for iTerm2 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Restore tmux truecolor gruvbox theme with terminal overrides for iTerm2 - Add gruvbox.setup() with hard contrast for much darker nvim background - Configure lualine with gruvbox_dark theme to match colorscheme - Background changed from #282828 to #1d2021 for enhanced contrast 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- nvim.nix | 7 +++++-- tmux.nix | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nvim.nix b/nvim.nix index fe90e47..145d16a 100644 --- a/nvim.nix +++ b/nvim.nix @@ -31,7 +31,10 @@ -- Leader key vim.g.mapleader = " " - -- Set gruvbox colorscheme to match lualine theme + -- Configure gruvbox with hard contrast for darker background + require("gruvbox").setup({ + contrast = "hard", -- Makes background much darker (#1d2021 instead of #282828) + }) vim.opt.background = "dark" vim.cmd('colorscheme gruvbox') @@ -52,7 +55,7 @@ auto_install = false, }) - -- Lualine setup + -- Lualine setup with gruvbox theme require('lualine').setup({ options = { theme = 'gruvbox_dark', diff --git a/tmux.nix b/tmux.nix index 4a72419..5e9efaa 100644 --- a/tmux.nix +++ b/tmux.nix @@ -14,7 +14,7 @@ set -g default-terminal "screen-256color" set -ga terminal-overrides ",xterm-256color:Tc" - # Gruvbox Dark Theme + # Gruvbox Dark Theme (Truecolor) # Status bar colors set -g status-style 'bg=#282828,fg=#ebdbb2' set -g status-left-style 'bg=#a89984,fg=#282828'