Last active
August 5, 2024 06:16
-
-
Save nauvalazhar/cc93db74e11f1cd3d400aba6aeaf7108 to your computer and use it in GitHub Desktop.
terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[colors.indexed_colors]] | |
color = "0xff9e64" | |
index = 16 | |
[[colors.indexed_colors]] | |
color = "0xdb4b4b" | |
index = 17 | |
[colors.bright] | |
black = "0x414868" | |
blue = "0x7aa2f7" | |
cyan = "0x7dcfff" | |
green = "0x9ece6a" | |
magenta = "0xbb9af7" | |
red = "0xf7768e" | |
white = "0xc0caf5" | |
yellow = "0xe0af68" | |
[colors.normal] | |
black = "0x15161e" | |
blue = "0x7aa2f7" | |
cyan = "0x7dcfff" | |
green = "0x9ece6a" | |
magenta = "0xbb9af7" | |
red = "0xf7768e" | |
white = "0xa9b1d6" | |
yellow = "0xe0af68" | |
[colors.primary] | |
background = "0x1a1b26" | |
foreground = "0xc0caf5" | |
[env] | |
TERM = "xterm-256color" | |
[font] | |
size = 14 | |
[font.glyph_offset] | |
x = 0 | |
y = 0 | |
[font.normal] | |
family = "JetBrainsMono NF" | |
style = "Regular" | |
[font.offset] | |
y = 0 | |
[shell] | |
args = ["-l", "-c", "tmux"] | |
program = "/bin/zsh" | |
[window] | |
decorations = "buttonless" | |
title = "" | |
dynamic_padding = true | |
blur = true | |
opacity = 1 | |
option_as_alt = 'OnlyLeft' | |
[window.dimensions] | |
columns = 150 | |
lines = 40 | |
[window.padding] | |
x = 5 | |
y = 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
GREY_HL=#454B68 | |
LIGHT=#888da4 | |
set -g mouse on | |
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-option -g default-terminal "alacritty" | |
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 @mytitle "#[align=centre] Alacritty #{pane_current_command}" | |
set -g status-left "#[fg=$PRIMARY,bg=$DARK,bold] #S " | |
set -g status-right "#{prefix_highlight} #[fg=$LIGHT]#{cpu_icon} #{cpu_percentage} #{battery_icon} #{battery_percentage} #[fg=#FFFFFF] %I:%M %p" | |
setw -g window-status-separator "" | |
setw -g window-status-format "#[fg=$LIGHT] #W#F " | |
setw -g window-status-current-format "#[fg=#FFFFFF] #W#F " | |
setw -g window-status-style "bg=$DARK" | |
setw -g window-status-last-style "" | |
# setw -g status-format[1] "#[align=left range=left #{E:status-left-style}]#[push-default]#{T;=/#{status-left-length}:status-left}#[pop-default]#[norange default]#[list=on align=#{status-justify}]#[list=left-marker]<#[list=right-marker]>#[list=on]#{W:#[range=window|#{window_index} #{E:window-status-style}#{?#{&&:#{window_last_flag},#{!=:#{E:window-status-last-style},default}}, #{E:window-status-last-style},}#{?#{&&:#{window_bell_flag},#{!=:#{E:window-status-bell-style},default}}, #{E:window-status-bell-style},#{?#{&&:#{||:#{window_activity_flag},#{window_silence_flag}},#{!=:#{E:window-status-activity-style},default}}, #{E:window-status-activity-style},}}]#[push-default]#{T:window-status-format}#[pop-default]#[norange default]#{?window_end_flag,,#{window-status-separator}},#[range=window|#{window_index} list=focus #{?#{!=:#{E:window-status-current-style},default},#{E:window-status-current-style},#{E:window-status-style}}#{?#{&&:#{window_last_flag},#{!=:#{E:window-status-last-style},default}}, #{E:window-status-last-style},}#{?#{&&:#{window_bell_flag},#{!=:#{E:window-status-bell-style},default}}, #{E:window-status-bell-style},#{?#{&&:#{||:#{window_activity_flag},#{window_silence_flag}},#{!=:#{E:window-status-activity-style},default}}, #{E:window-status-activity-style},}}]#[push-default]#{T:window-status-current-format}#[pop-default]#[norange list=on default]#{?window_end_flag,,#{window-status-separator}}}#[nolist align=right range=right #{E:status-right-style}]#[push-default]#{T;=/#{status-right-length}:status-right}#[pop-default]#[norange default]" | |
# setw -g status-format[1] "" | |
set -g status-format[1] "#[align=centre,fg=$GREY]#(for i in $(seq 1 $(tmux display -p '#{client_width}')); do printf ''; done)" | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FZF | |
export FZF_DEFAULT_OPTS='--bind=tab:down,shift-tab:up' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment