add alacritty config
This commit is contained in:
19
alacritty/.config/alacritty/alacritty.toml
Normal file
19
alacritty/.config/alacritty/alacritty.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
import = ["/home/ink/.config/alacritty/dracula.toml"]
|
||||
[font]
|
||||
size = 12.0
|
||||
|
||||
[font.bold]
|
||||
family = "PragmataPro Mono Liga"
|
||||
style = "Bold"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "PragmataPro Mono Liga"
|
||||
style = "Bold Italic"
|
||||
|
||||
[font.italic]
|
||||
family = "PragmataPro Mono Liga"
|
||||
style = "Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "PragmataPro Mono Liga"
|
||||
style = "Regular"
|
||||
76
alacritty/.config/alacritty/dracula.toml
Normal file
76
alacritty/.config/alacritty/dracula.toml
Normal file
@@ -0,0 +1,76 @@
|
||||
# Dracula theme for Alacritty
|
||||
# https://draculatheme.com/alacritty
|
||||
#
|
||||
# Color palette
|
||||
# https://spec.draculatheme.com
|
||||
#
|
||||
# Instructions
|
||||
# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd
|
||||
|
||||
[colors.primary]
|
||||
|
||||
background = "#282a36"
|
||||
foreground = "#f8f8f2"
|
||||
bright_foreground = "#ffffff"
|
||||
|
||||
[colors.cursor]
|
||||
|
||||
text = "#282a36"
|
||||
cursor = "#f8f8f2"
|
||||
|
||||
[colors.vi_mode_cursor]
|
||||
|
||||
text = "CellBackground"
|
||||
cursor = "CellForeground"
|
||||
|
||||
[colors.selection]
|
||||
|
||||
text = "CellForeground"
|
||||
background = "#44475a"
|
||||
|
||||
[colors.normal]
|
||||
|
||||
black = "#21222c"
|
||||
red = "#ff5555"
|
||||
green = "#50fa7b"
|
||||
yellow = "#f1fa8c"
|
||||
blue = "#bd93f9"
|
||||
magenta = "#ff79c6"
|
||||
cyan = "#8be9fd"
|
||||
white = "#f8f8f2"
|
||||
|
||||
[colors.bright]
|
||||
|
||||
black = "#6272a4"
|
||||
red = "#ff6e6e"
|
||||
green = "#69ff94"
|
||||
yellow = "#ffffa5"
|
||||
blue = "#d6acff"
|
||||
magenta = "#ff92df"
|
||||
cyan = "#a4ffff"
|
||||
white = "#ffffff"
|
||||
|
||||
[colors.search.matches]
|
||||
|
||||
foreground = "#44475a"
|
||||
background = "#50fa7b"
|
||||
|
||||
[colors.search.focused_match]
|
||||
|
||||
foreground = "#44475a"
|
||||
background = "#ffb86c"
|
||||
|
||||
[colors.footer_bar]
|
||||
|
||||
background = "#282a36"
|
||||
foreground = "#f8f8f2"
|
||||
|
||||
[colors.hints.start]
|
||||
|
||||
foreground = "#282a36"
|
||||
background = "#f1fa8c"
|
||||
|
||||
[colors.hints.end]
|
||||
|
||||
foreground = "#f1fa8c"
|
||||
background = "#282a36"
|
||||
@@ -4,39 +4,8 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
set -g @plugin 'tmux-plugins/tmux-open'
|
||||
|
||||
set -g @continuum-boot 'on'
|
||||
|
||||
set -g @continuum-boot-options 'iterm,fullscreen'
|
||||
|
||||
set -g @plugin 'dracula/tmux'
|
||||
|
||||
# set -Fg 'status-format[1]' '#{status-format[0]}'
|
||||
# set -g 'status-format[0]' ''
|
||||
# set -g status 2
|
||||
|
||||
set -g @dracula-plugins "git weather time battery"
|
||||
set -g @dracula-show-fahrenheit false
|
||||
set -g @dracula-fixed-location "Madrid"
|
||||
set -g @dracula-show-powerline false
|
||||
set -g @dracula-transparent-powerline-bg true
|
||||
set -g @dracula-military-time true
|
||||
set -g @dracula-day-month true
|
||||
|
||||
set -g @plugin 'ofirgall/tmux-window-name'
|
||||
set -g @tmux_window_name_substitute_sets "[('.+bash', 'bash')]"
|
||||
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']"
|
||||
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
|
||||
set -g @tmux_window_name_use_tilde "True"
|
||||
set -g @tmux_window_name_max_name_len "100"
|
||||
# set-option -g default-shell $SHELL
|
||||
# set -g default-command "$SHELL -i"
|
||||
|
||||
# Other examples:
|
||||
# set -g @plugin 'github_username/plugin_name'
|
||||
# set -g @plugin 'github_username/plugin_name#branch'
|
||||
# set -g @plugin 'git@github.com:user/plugin'
|
||||
# set -g @plugin 'git@bitbucket.com:user/plugin'
|
||||
bind r source-file ~/.tmux.conf \; display "Reloaded!" # Reload with ctrl-r
|
||||
set -sg escape-time 1 # quicker responses
|
||||
|
||||
@@ -63,6 +32,46 @@ bind-key -n C-S-Right swap-window -t +1\; select-window -t +1
|
||||
|
||||
setw -g mode-keys vi
|
||||
|
||||
set-option -g default-shell $SHELL
|
||||
set -g default-command "$SHELL -i"
|
||||
|
||||
set-option -sa terminal-features ',alacritty:RGB'
|
||||
set-option -ga terminal-features ",alacritty:usstyle"
|
||||
set-option -ga terminal-overrides ',alacritty:Tc'
|
||||
set -g default-terminal "alacritty"
|
||||
|
||||
set -g @plugin 'dracula/tmux'
|
||||
|
||||
set -g @resurrect-capture-pane-contents 'on'
|
||||
set -g @resurrect-dir '~/.tmux/resurrect/'
|
||||
|
||||
set -g @continuum-save-interval '15'
|
||||
set -g @continuum-restore 'on'
|
||||
set -g @continuum-boot 'on'
|
||||
|
||||
### tmux-resurrect
|
||||
set -g @resurrect-save 'S' # prefix + Shift-s - save
|
||||
set -g @resurrect-restore 'R' # prefix + Shift-r - restore
|
||||
# for neovim
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
|
||||
set -g @continuum-boot-options 'alacritty,fullscreen'
|
||||
|
||||
set -g @dracula-plugins "git weather time battery"
|
||||
set -g @dracula-show-fahrenheit false
|
||||
set -g @dracula-fixed-location "Madrid"
|
||||
set -g @dracula-show-powerline false
|
||||
set -g @dracula-transparent-powerline-bg true
|
||||
set -g @dracula-military-time true
|
||||
set -g @dracula-day-month true
|
||||
|
||||
set -g @plugin 'ofirgall/tmux-window-name'
|
||||
set -g @tmux_window_name_substitute_sets "[('.+bash', 'bash')]"
|
||||
set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']"
|
||||
set -g @tmux_window_dir_programs "['nvim', 'vim', 'vi', 'git']"
|
||||
set -g @tmux_window_name_use_tilde "True"
|
||||
set -g @tmux_window_name_max_name_len "100"
|
||||
|
||||
# decide whether we're in a Vim process
|
||||
is_vim="~/.is_vim.sh '#{pane_tty}'"
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@ setopt HIST_IGNORE_SPACE # Do not record an event starting with a space.
|
||||
unsetopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file.
|
||||
setopt SHARE_HISTORY # Share history between all sessions.
|
||||
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
|
||||
setopt AUTO_PUSHD # Push the current directory visited on the stack.
|
||||
setopt PUSHD_IGNORE_DUPS # Do not store duplicates in the stack.
|
||||
setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.
|
||||
|
||||
Reference in New Issue
Block a user