Skip to content

Instantly share code, notes, and snippets.

@nauvalazhar
Last active November 27, 2023 15:00
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nauvalazhar/cc93db74e11f1cd3d400aba6aeaf7108 to your computer and use it in GitHub Desktop.
Save nauvalazhar/cc93db74e11f1cd3d400aba6aeaf7108 to your computer and use it in GitHub Desktop.
terminal
font:
normal:
family: JetBrainsMono NF
style: Regular
size: 15
offset:
y: 1
glyph_offset:
x: 0
y: 0
window:
title: ''
decorations: transparent
dimensions:
columns: 173
lines: 48
padding:
x: 10
y: 5
# TokyoNight Alacritty Theme
colors:
# Default colors
primary:
background: '0x1a1b26'
foreground: '0xc0caf5'
# Normal colors
normal:
black: '0x15161e'
red: '0xf7768e'
green: '0x9ece6a'
yellow: '0xe0af68'
blue: '0x7aa2f7'
magenta: '0xbb9af7'
cyan: '0x7dcfff'
white: '0xa9b1d6'
# Bright colors
bright:
black: '0x414868'
red: '0xf7768e'
green: '0x9ece6a'
yellow: '0xe0af68'
blue: '0x7aa2f7'
magenta: '0xbb9af7'
cyan: '0x7dcfff'
white: '0xc0caf5'
indexed_colors:
- { index: 16, color: '0xff9e64' }
- { index: 17, color: '0xdb4b4b' }
env:
TERM: xterm-256color
shell:
program: /bin/zsh
args:
- -l
- -c
- tmux
# List of plugins
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \
tmux-plugins/tmux-pain-control \
tmux-plugins/tmux-resurrect \
tmux-plugins/tmux-battery \
tmux-plugins/tmux-cpu \
tmux-plugins/tmux-prefix-highlight \
'
# colors
DARK=#1a1b26
PRIMARY=#4649FF
GREY=#24283b
LIGHT=#888da4
set -g pane-border-style fg=magenta
set -g pane-active-border-style "bg=default fg=#a18daf"
set-option -sa terminal-overrides ",xterm*:Tc"
set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
set -g status-left-length 40
set -g status-right-length 60
set -g status-position top
set -g status-fg white
set -g status-bg default
set-window-option -g mode-keys vi
set -g mode-style "fg=#ffffff,bg=$DARK"
set -g message-style "fg=#ffffff,bg=$DARK"
set -g message-command-style "fg=#ffffff,bg=$DARK"
set -g pane-border-style "fg=$GREY"
set -g pane-active-border-style "fg=$PRIMARY"
set -g status 2
set -g status-justify "left"
set -g status-style "fg=#2188ff,bg=$DARK"
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 @batt_icon_charge_tier8 ''
set -g @batt_icon_charge_tier7 ''
set -g @batt_icon_charge_tier6 ''
set -g @batt_icon_charge_tier5 ''
set -g @batt_icon_charge_tier4 ''
set -g @batt_icon_charge_tier3 ''
set -g @batt_icon_charge_tier2 ''
set -g @batt_icon_charge_tier1 ''
set -g @batt_icon_status_charged ''
set -g @batt_icon_status_charging ''
set -g @batt_icon_status_discharging ''
set -g @batt_icon_status_unknown ''
set -g @batt_color_status_primary_charged '#3daee9'
set -g @batt_color_status_primary_charging '#3daee9'
set -g @prefix_highlight_bg "$PRIMARY"
set -g @prefix_highlight_fg "#FFFFFF"
set -g status-left " #[fg=$PRIMARY,bg=$DARK]#[fg=#ffffff,bg=$PRIMARY,bold] #S #[fg=$PRIMARY,bg=$DARK,nobold,nounderscore,noitalics] "
set -g status-right "#{prefix_highlight} #[fg=$LIGHT]#{cpu_icon} #{cpu_percentage} #[fg=$GREY]#[fg=#ffffff,bg=$GREY] #{battery_icon} #{battery_percentage} #[bg=$PRIMARY] %Y-%m-%d %I:%M %p #[fg=$PRIMARY,bg=$DARK]"
setw -g window-status-separator " "
setw -g window-status-format "#[fg=$GREY]#[fg=#ffffff,bg=$GREY]#I #W#F #[fg=$GREY,bg=$DARK]"
setw -g window-status-current-format "#[fg=$PRIMARY]#[fg=#ffffff,bg=$GREY]#[bg=$PRIMARY]#I #W#F #[fg=$PRIMARY,bg=$DARK]"
setw -g window-status-style "bg=$DARK"
setw -g window-status-last-style ""
setw -g status-format[1] "#[align=centre]  Alacritty  #{pane_current_command}"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
# FZF
export FZF_DEFAULT_COMMAND="rg --files"
export FZF_DEFAULT_OPTS="--bind=tab:down,shift-tab:up --ansi --color=bg+:#1a1b26,fg+:#73DE72,pointer:#17D262,hl:#D21771,hl+:#D21771,info:#3d4651 --pointer '👉' --preview-window 'down,right:60%' --layout reverse --margin=2% --no-info"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment