This commit is contained in:
test 2024-05-15 15:51:14 -04:00
commit 829c476435
5 changed files with 71 additions and 0 deletions

67
.tmux.conf Normal file
View File

@ -0,0 +1,67 @@
# Plugins
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-resurrect'
#set -g @yank_action 'copy-pipe-no-clear'
# Send Prefix
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
# Use Alt-arrow keys to switch panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Shift arrow to switch windows
bind -n S-Left previous-window
bind -n S-Right next-window
bind -n C-Pageup previous-window
bind -n C-Pagedown next-window
# bind h previous-window
# bind l next-window
# Mouse mode
setw -g mouse on
# Set easier window split
bind-key v split-window -h
bind-key h split-window -v
# Easy config reload
bind-key r source-file ~/.tmux.conf \; display-message "~/tmux.conf reloaded."
# Copy
setw -g mode-keys vi
# Status bar settings
set-option -g status on
set-option -g status-interval 1
set-option -g status-justify centre
set-option -g status-keys vi
set-option -g status-position bottom
set-option -g status-style fg=colour136,bg=colour235
set-option -g status-left-length 20
set-option -g status-left-style default
set-option -g status-right-length 140
set-option -g status-right-style bg=black,fg=black
set-option -g status-right "#{cpu_bg_color}CPU: #{cpu_icon} #{cpu_percentage}"
set-option -ag status-right "#[bg=black,fg=black] "
set-option -ag status-right "#{cpu_bg_color}TEMP: #{cpu_temp}"
set-option -ag status-right "#[bg=black,fg=black] "
set-option -ag status-right "#{ram_bg_color}RAM: #{ram_icon} #{ram_percentage}"
set-option -ag status-right "#[fg=red,dim,bg=default] #(uptime | cut -f 4-5 -d ' ' | cut -f 1 -d ',') "
set-option -ag status-right " #[fg=yellow,bg=default]%a %l:%M:%S %p" #date #[default] #[fg=blue]%Y-%m-%d"
set-window-option -g window-status-style fg=colour244
set-window-option -g window-status-style bg=default
set-window-option -g window-status-current-style fg=colour166
set-window-option -g window-status-current-style bg=default
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run ~/.tmux/plugins/tpm3/tpm

@ -0,0 +1 @@
Subproject commit 9eb3dba66672c5b43065e144cc3a1031f77ad67e

@ -0,0 +1 @@
Subproject commit a2ddfb96b94bb64a7a2e3f5fa2a7c57dce8ad579

@ -0,0 +1 @@
Subproject commit 1b1a436e19f095ae8f825243dbe29800a8acd25c

1
.tmux/plugins/tpm3 Submodule

@ -0,0 +1 @@
Subproject commit b699a7e01c253ffb7818b02d62bce24190ec1019