commit 829c4764352c625bf030277ae94bebca0f20a5be Author: test Date: Wed May 15 15:51:14 2024 -0400 init diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..aae36bd --- /dev/null +++ b/.tmux.conf @@ -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 diff --git a/.tmux/plugins/tmux-cpu b/.tmux/plugins/tmux-cpu new file mode 160000 index 0000000..9eb3dba --- /dev/null +++ b/.tmux/plugins/tmux-cpu @@ -0,0 +1 @@ +Subproject commit 9eb3dba66672c5b43065e144cc3a1031f77ad67e diff --git a/.tmux/plugins/tmux-resurrect b/.tmux/plugins/tmux-resurrect new file mode 160000 index 0000000..a2ddfb9 --- /dev/null +++ b/.tmux/plugins/tmux-resurrect @@ -0,0 +1 @@ +Subproject commit a2ddfb96b94bb64a7a2e3f5fa2a7c57dce8ad579 diff --git a/.tmux/plugins/tmux-yank b/.tmux/plugins/tmux-yank new file mode 160000 index 0000000..1b1a436 --- /dev/null +++ b/.tmux/plugins/tmux-yank @@ -0,0 +1 @@ +Subproject commit 1b1a436e19f095ae8f825243dbe29800a8acd25c diff --git a/.tmux/plugins/tpm3 b/.tmux/plugins/tpm3 new file mode 160000 index 0000000..b699a7e --- /dev/null +++ b/.tmux/plugins/tpm3 @@ -0,0 +1 @@ +Subproject commit b699a7e01c253ffb7818b02d62bce24190ec1019