From 321cc71b362812479652c17ed512e8eab26bd8e4 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Thu, 22 Dec 2022 15:51:08 +0100 Subject: [PATCH] feat: update colors of Neovim, Lualine and Tmux to match Tokyo Night --- nvim/after/plugin/lualine.lua | 16 +++++++++++++--- nvim/lua/kogakure/colorscheme.lua | 2 +- tmux.conf | 20 ++++++++++++-------- 3 files changed, 26 insertions(+), 12 deletions(-) diff --git a/nvim/after/plugin/lualine.lua b/nvim/after/plugin/lualine.lua index 82e1d47..a51040d 100644 --- a/nvim/after/plugin/lualine.lua +++ b/nvim/after/plugin/lualine.lua @@ -1,10 +1,20 @@ -- https://github.com/nvim-lualine/lualine.nvim +local theme = require("lualine.themes.auto") + +theme.normal.c.bg = "#1F2335" +theme.normal.b.bg = "#24283B" +theme.insert.b.bg = "#24283B" +theme.visual.b.bg = "#24283B" +theme.replace.b.bg = "#24283B" +theme.command.b.bg = "#24283B" +theme.inactive.b.bg = "#24283B" + require("lualine").setup({ options = { icons_enabled = true, - theme = "tokyonight", - component_separators = { left = "", right = "" }, - section_separators = { left = "", right = "" }, + theme = theme, + component_separators = { left = "", right = "" }, + section_separators = { left = "", right = "" }, disabled_filetypes = { "alpha", "dashboard", "NvimTree", "Outline " }, always_divide_middle = true, globalstatus = true, diff --git a/nvim/lua/kogakure/colorscheme.lua b/nvim/lua/kogakure/colorscheme.lua index d355d18..5a8cf5f 100644 --- a/nvim/lua/kogakure/colorscheme.lua +++ b/nvim/lua/kogakure/colorscheme.lua @@ -13,5 +13,5 @@ vim.cmd([[ silent! colorscheme tokyonight-night highlight ColorColumn guibg=#202224 highlight SpellBad guifg=red -highlight Winseparator guifg=#444444 guibg=None +highlight Winseparator guifg=#1F2335 guibg=None ]]) diff --git a/tmux.conf b/tmux.conf index 0dedcfc..37af0d4 100644 --- a/tmux.conf +++ b/tmux.conf @@ -38,9 +38,11 @@ set -g @pomodoro_break_mins 15 set -g @pomodoro_on " 🍅" set -g @pomodoro_complete " ✅" +# set -g status-bg "#414868" +set -g status-bg "#1F2335" + # TokyoNight colors for Tmux set -g mode-style "fg=#7aa2f7,bg=#3b4261" - set -g message-style "fg=#7aa2f7,bg=#3b4261" set -g message-command-style "fg=#7aa2f7,bg=#3b4261" @@ -58,14 +60,16 @@ set -g status-right-length "100" set -g status-left-style NONE set -g status-right-style NONE -set -g status-left "#[fg=#15161e,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#16161e,nobold,nounderscore,noitalics]" -set -g status-right "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#16161e] #{prefix_highlight} #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261]#{pomodoro_status} %d.%m.%Y  %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#15161e,bg=#7aa2f7,bold] #h " +# --- Bar Left --- +set -g status-left "#[fg=black,bg=green,bold] #S #[fg=blue,bg=default,nobold,noitalics,nounderscore]" -setw -g window-status-activity-style "underscore,fg=#a9b1d6,bg=#16161e" -setw -g window-status-separator "" -setw -g window-status-style "NONE,fg=#a9b1d6,bg=#16161e" -setw -g window-status-format "#[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]#[default] #I  #W #F #[fg=#16161e,bg=#16161e,nobold,nounderscore,noitalics]" -setw -g window-status-current-format "#[fg=#16161e,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261,bold] #I  #W #F #[fg=#3b4261,bg=#16161e,nobold,nounderscore,noitalics]" +# --- Windows --- +set -g window-status-current-format "#[fg=white,bg=#1F2335]  #I #W " +set -g window-status-format "#[fg=brightwhite,bg=default,nobold,noitalics,nounderscore]  #I #W #F " + +# --- Bar Right --- +set -g status-right "#[fg=white,bg=#24283B] #{pomodoro_status} %d.%m.%Y ❬ %H:%M" +set -g window-status-separator "" # Swap Window to Position 1 bind-key T swap-window -t 1