🔧 chore: update code
This commit is contained in:
1 parent
641127de24
commit
af71e90446
30 files changed
+1602
-235
No files matched your search
@@ -0,0 +1,32 @@
|
||||
set -g status-interval 1
|
||||
set -g status-left-length 100
|
||||
|
||||
set -g status-left "#{?pane_in_mode,#[bold fg=black]#[bg=yellow] COPY #[fg=yellow bg=white],#{?window_zoomed_flag,#[bold fg=black]#[bg=cyan] ZOOM #[fg=cyan bg=white],#{?client_prefix,#[bold fg=black]#[bg=red] CMND #[fg=red bg=white],#[bold fg=black]#[bg=brightwhite] TMUX #[fg=brightwhite bg=white]}}}"
|
||||
|
||||
set -ag status-left "#[fg=white bg=brightblack]"
|
||||
|
||||
# Agregar el nombre de la sesión
|
||||
set -ag status-left "#[fg=brightwhite bg=brightblack] #S "
|
||||
set -ag status-left "#[fg=brightblack bg=black]"
|
||||
|
||||
set -ag status-left "#[fg=white] #{pane_current_command} · #{}"
|
||||
|
||||
set -g status-right "#[fg=brightwhite] #(basename $SHELL) "
|
||||
# CPU
|
||||
set -ag status-right "#[fg=red]#[fg=black bg=red] #[fg=brightwhite bg=brightblack] #{cpu_percentage} "
|
||||
# RAM
|
||||
set -ag status-right "#[fg=green]#[fg=black bg=green] #[fg=brightwhite bg=brightblack] #{ram} "
|
||||
# TIME
|
||||
set -ag status-right "#[fg=blue]#[fg=black bg=blue] #[fg=blue bg=brightblack] %H:%M #{}"
|
||||
|
||||
set -g status-bg black
|
||||
set -g status-fg white
|
||||
|
||||
set -g pane-active-border-style "fg=blue"
|
||||
set -g pane-border-style "fg=black"
|
||||
|
||||
# Ventanas inactivas
|
||||
set -g window-status-format "#[fg=grey] #[default]#{b:pane_current_path}"
|
||||
|
||||
# Ventana activa
|
||||
set -g window-status-current-format "#[fg=brightwhite] #[bold]#{b:pane_current_path}"
|
||||
+11
-38
@@ -1,3 +1,11 @@
|
||||
# ┌──────────────────────────┐
|
||||
# │ │
|
||||
# │ ░▀█▀░█▄█░█░█░█░█ │
|
||||
# │ ░░█░░█░█░█░█░▄▀▄ │
|
||||
# │ ░░▀░░▀░▀░▀▀▀░▀░▀ │
|
||||
# │ │
|
||||
# └──────────────────────────┘
|
||||
|
||||
# Set default shell
|
||||
set-option -g default-shell $SHELL
|
||||
|
||||
@@ -26,44 +34,9 @@ set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
|
||||
# # Status bar
|
||||
# set -g @plugin 'Axenide/TmuxAxgruv'
|
||||
#
|
||||
# set -g @gruvbox "ax"
|
||||
#
|
||||
# set -g @gruvbox_window_right_separator "█"
|
||||
# set -g @gruvbox_window_left_separator "█"
|
||||
# # set -g @gruvbox_window_number_position "right"
|
||||
# set -g @gruvbox_window_middle_separator "█ "
|
||||
#
|
||||
# # set -g @gruvbox_window_default_fill "none"
|
||||
#
|
||||
# # set -g @gruvbox_window_current_fill "all"
|
||||
#
|
||||
# set -g @gruvbox_status_modules "application user session"
|
||||
#
|
||||
# set -g @gruvbox_status_left_separator ""
|
||||
# set -g @gruvbox_status_right_separator "█"
|
||||
#
|
||||
# set -g @gruvbox_date_time_text "%Y-%m-%d %H:%M:%S"
|
||||
|
||||
# Theme: borders
|
||||
set -g pane-border-lines single
|
||||
set -g pane-border-style fg=brightblack
|
||||
set -g pane-active-border-style fg=red
|
||||
|
||||
# Theme: status
|
||||
set -g status-style bg=default,fg=brightblack
|
||||
set -g status-left "#[fg=brightblack,bright]#(basename \"#{pane_current_path}\")"
|
||||
set -g status-right "#[fg=brightblack,bright]#S"
|
||||
|
||||
# Theme: status (windows)
|
||||
set -g window-status-format "●"
|
||||
set -g window-status-current-format "●"
|
||||
set -g window-status-current-style "#{?window_zoomed_flag,fg=yellow,fg=red,nobold}"
|
||||
set -g window-status-bell-style "fg=red,nobold"
|
||||
set -g status-justify absolute-centre
|
||||
set -g @plugin 'tmux-plugins/tmux-cpu'
|
||||
set -g @plugin 'pwittchen/tmux-plugin-ram'
|
||||
source-file ~/.config/tmux/theme.conf
|
||||
|
||||
# Set vi-mode
|
||||
set-window-option -g mode-keys vi
|
||||
|
||||
Reference in new issue
Block a user