feat: update colors of Neovim, Lualine and Tmux to match Tokyo Night

This commit is contained in:
Stefan Imhoff
2022-12-22 15:51:08 +01:00
parent a41fc1ce91
commit 321cc71b36
3 changed files with 26 additions and 12 deletions

View File

@@ -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,

View File

@@ -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
]])

View File

@@ -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