From 49778fe936a6720bc133a6f87704d6e4199f4da9 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 16 Nov 2023 15:18:40 +0200 Subject: [PATCH] chore: update alacritty, nvim and tmux colors --- config/alacritty/alacritty.yml | 12 +++++----- config/nvim/lua/config/lazy.lua | 7 ++++++ config/tmux/tmux.conf | 6 ----- config/tmux/tokyonight_storm.tmux | 38 ------------------------------- 4 files changed, 13 insertions(+), 50 deletions(-) delete mode 100755 config/tmux/tokyonight_storm.tmux diff --git a/config/alacritty/alacritty.yml b/config/alacritty/alacritty.yml index 98fa021..e596e23 100644 --- a/config/alacritty/alacritty.yml +++ b/config/alacritty/alacritty.yml @@ -19,8 +19,8 @@ env: window: dynamic_title: true dimensions: - columns: 130 - lines: 40 + columns: 200 + lines: 100 # Adds this many blank pixels of padding around the window # Units are physical pixels; this is not DPI aware. @@ -31,7 +31,7 @@ window: decorations: buttonless - opacity: 0.97 + opacity: 0.98 # When true, bold text is drawn using the bright variant of colors. draw_bold_text_with_bright_colors: true @@ -104,9 +104,9 @@ colors: cyan: '0x7dcfff' white: '0xc0caf5' - indexed_colors: - - { index: 16, color: '0xff9e64' } - - { index: 17, color: '0xdb4b4b' } + # indexed_colors: + # - { index: 16, color: '0xff9e64' } + # - { index: 17, color: '0xdb4b4b' } key_bindings: - { key: V, mods: Command, action: Paste } diff --git a/config/nvim/lua/config/lazy.lua b/config/nvim/lua/config/lazy.lua index 074cc82..8bd9ccb 100644 --- a/config/nvim/lua/config/lazy.lua +++ b/config/nvim/lua/config/lazy.lua @@ -12,9 +12,14 @@ require("lazy").setup({ { "LazyVim/LazyVim", import = "lazyvim.plugins", + opts = { + colorscheme = "tokyonight", + }, }, { "folke/tokyonight.nvim", + lazy = false, + priority = 1000, opts = { style = "night", transparent = true, @@ -23,6 +28,8 @@ require("lazy").setup({ sidebars = "transparent", floats = "transparent", }, + dim_inactive = true, + lualine_bold = true, }, }, { import = "plugins" }, diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index c72b308..a029981 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -92,9 +92,6 @@ set-window-option -g mode-keys vi # │ Theme │ # ╰──────────────────────────────────────────────────────────╯ -# Set theme to tokyonight -# source-file ~/.dotfiles/config/tmux/tokyonight_storm.tmux - # Make sure status sides are long enough and centered is in the middle set -g status-left-length "30" set -g status-right-length "30" @@ -143,9 +140,6 @@ set -g @mode_indicator_copy_mode_style 'bg=default,fg=yellow' set -g @mode_indicator_empty_mode_style 'bg=default,fg=#7aa2f7' set -g @mode_indicator_sync_mode_style 'bg=default,fg=red' -# Modified from tokyonight_storm to include tmux_mode_indicator -# set -g status-right "#[fg=#1f2335,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#1f2335] #{prefix_highlight} #[fg=#3b4261,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d  %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#1d202f,bg=#7aa2f7,bold] #h #{tmux_mode_indicator}" - # ╭──────────────────────────────────────────────────────────╮ # │ Plugins │ # ╰──────────────────────────────────────────────────────────╯ diff --git a/config/tmux/tokyonight_storm.tmux b/config/tmux/tokyonight_storm.tmux deleted file mode 100755 index f920139..0000000 --- a/config/tmux/tokyonight_storm.tmux +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash - -# 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" - -set -g pane-border-style "fg=#3b4261" -set -g pane-active-border-style "fg=#7aa2f7" - -set -g status "on" -set -g status-justify "left" - -set -g status-style "fg=#7aa2f7,bg=#1f2335" - -set -g status-left-length "100" -set -g status-right-length "100" - -set -g status-left-style NONE -set -g status-right-style NONE - -set -g status-left "#[fg=#1d202f,bg=#7aa2f7,bold] #S #[fg=#7aa2f7,bg=#1f2335,nobold,nounderscore,noitalics]" -set -g status-right "#[fg=#1f2335,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#1f2335] #{prefix_highlight} #[fg=#3b4261,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d  %I:%M %p #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#1d202f,bg=#7aa2f7,bold] #h " -if-shell '[ "$(tmux show-option -gqv "clock-mode-style")" == "24" ]' { - set -g status-right "#[fg=#1f2335,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#1f2335] #{prefix_highlight} #[fg=#3b4261,bg=#1f2335,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261] %Y-%m-%d  %H:%M #[fg=#7aa2f7,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#1d202f,bg=#7aa2f7,bold] #h " -} - -setw -g window-status-activity-style "underscore,fg=#a9b1d6,bg=#1f2335" -setw -g window-status-separator "" -setw -g window-status-style "NONE,fg=#a9b1d6,bg=#1f2335" -setw -g window-status-format "#[fg=#1f2335,bg=#1f2335,nobold,nounderscore,noitalics]#[default] #I  #W #F #[fg=#1f2335,bg=#1f2335,nobold,nounderscore,noitalics]" -setw -g window-status-current-format "#[fg=#1f2335,bg=#3b4261,nobold,nounderscore,noitalics]#[fg=#7aa2f7,bg=#3b4261,bold] #I  #W #F #[fg=#3b4261,bg=#1f2335,nobold,nounderscore,noitalics]" - -# tmux-plugins/tmux-prefix-highlight support -set -g @prefix_highlight_output_prefix "#[fg=#e0af68]#[bg=#1f2335]#[fg=#1f2335]#[bg=#e0af68]" -set -g @prefix_highlight_output_suffix ""