dracula theme everywhere + tmux theme fixes

This commit is contained in:
Martin Bauer 2022-06-14 22:28:56 +02:00
parent de2f886423
commit eff824c8a9
7 changed files with 112 additions and 16 deletions

View File

@ -19,4 +19,3 @@ TODO:
- tree
- egrep
- ultimate plumer

View File

@ -124,11 +124,10 @@ cp -r ${CONFIG_IN}/tmux ${XDG_CONFIG_HOME}
export TERMINFO=${MB_ENV_BASE}/share/terminfo
printf "${White} Installing tpm package manager...${Color_Off}\n"
cd $XDG_DATA_HOME
printf "${White} Installing tmux plugins...${Color_Off}\n"
cd $XDG_CONFIG_HOME
mkdir -p tmux/plugins
git clone https://github.com/tmux-plugins/tpm tmux/plugins/tpm &> /dev/null
./tmux/plugins/tpm/bin/install_plugins &> /dev/null
git clone https://github.com/dracula/tmux.git tmux/plugins/dracula-tmux &> /dev/null
# -------------------------------------------- tmux ------------------------------------------------------------

View File

@ -0,0 +1,28 @@
import:
- ~/.config/alacritty/dracula.yml
font:
# Normal (roman) font face
normal:
family: Hack Nerd Font Mono
style: Regular
# Bold font face
bold:
family: Hack Nerd Font Mono
style: Bold
# Italic font face
italic:
family: Hack Nerd Font Mono
style: Italic
# Bold italic font face
bold_italic:
family: Hack Nerd Font Mono
style: Bold Italic
# Point size
size: 10

View File

@ -0,0 +1,61 @@
# Dracula theme for Alacritty
# https://draculatheme.com/alacritty
#
# Color palette
# https://spec.draculatheme.com
#
# Template
# https://github.com/alacritty/alacritty/blob/master/alacritty.yml
colors:
primary:
background: '#282a36'
foreground: '#f8f8f2'
bright_foreground: '#ffffff'
cursor:
text: CellBackground
cursor: CellForeground
vi_mode_cursor:
text: CellBackground
cursor: CellForeground
search:
matches:
foreground: '#44475a'
background: '#50fa7b'
focused_match:
foreground: '#44475a'
background: '#ffb86c'
bar:
background: '#282a36'
foreground: '#f8f8f2'
hints:
start:
foreground: '#282a36'
background: '#f1fa8c'
end:
foreground: '#f1fa8c'
background: '#282a36'
line_indicator:
foreground: None
background: None
selection:
text: CellForeground
background: '#44475a'
normal:
black: '#21222c'
red: '#ff5555'
green: '#50fa7b'
yellow: '#f1fa8c'
blue: '#bd93f9'
magenta: '#ff79c6'
cyan: '#8be9fd'
white: '#f8f8f2'
bright:
black: '#6272a4'
red: '#ff6e6e'
green: '#69ff94'
yellow: '#ffffa5'
blue: '#d6acff'
magenta: '#ff92df'
cyan: '#a4ffff'
white: '#ffffff'

View File

@ -11,7 +11,7 @@ end
set -x VIRTUAL_ENV_DISABLE_PROMPT 1
set -x theme_color_scheme nord
set -x theme_color_scheme dracula
set -x theme_nerd_fonts yes
set -x fish_prompt_pwd_dir_length 0

View File

@ -9,8 +9,9 @@ set number " turn on line numbers
" ----------------------------- Plugins ------------------------------
call plug#begin()
Plug 'justinmk/vim-sneak' " s two character search
Plug 'easymotion/vim-easymotion' " \\ w to jump around quickly
Plug 'sheerun/vim-polyglot' " syntax highlighting for many langs
Plug 'junegunn/fzf' " fuzzy finder
call plug#end()
Plug 'justinmk/vim-sneak' " s two character search
Plug 'easymotion/vim-easymotion' " \\ w to jump around quickly
Plug 'sheerun/vim-polyglot' " syntax highlighting for many langs
Plug 'junegunn/fzf' " fuzzy finder
Plug 'dracula/vim', { 'as': 'dracula' } " theme
call plug#end()

View File

@ -43,6 +43,7 @@ bind -T copy-mode-vi \} {
send-keys -X search-forward " "
send-keys -X end-of-line
send-keys -X search-backward " "
send-keys -X stop-selection
send-keys -X cursor-right
}
@ -51,13 +52,20 @@ bind -T copy-mode-vi \{ {
send-keys -X search-backward " "
send-keys -X end-of-line
send-keys -X search-backward " "
send-keys -X stop-selection
send-keys -X cursor-right
}
bind \} copy-mode
bind \{ copy-mode
# Package manager
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin "arcticicestudio/nord-tmux"
# Theme config
set -g @dracula-plugins "cpu-usage gpu-usage ram-usage time"
set -g @dracula-show-powerline true
set -g @dracula-day-month true
set -g @dracula-git-disable-status true
set -g @dracula-left-icon-padding 1
set -g @dracula-show-left-icon session
set -g @dracula-show-timezone false
run "$XDG_DATA_HOME/tmux/plugins/tpm/tpm'
run "$XDG_CONFIG_HOME/tmux/plugins/dracula-tmux/dracula.tmux"