mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
add backup tmux config into script
This commit is contained in:
@ -54,7 +54,7 @@ update_ms = 500
|
||||
|
||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
||||
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||
proc_sorting = "memory"
|
||||
proc_sorting = "cpu direct"
|
||||
|
||||
#* Reverse sorting order, True or False.
|
||||
proc_reversed = False
|
||||
|
@ -15,6 +15,8 @@ backup_folder ~/.tmux/tmux.conf ./tmux/ ./tmux/tmux.conf
|
||||
backup_folder ~/.config/rua-scripts ./ ./rua-scripts
|
||||
# lazygit
|
||||
backup_folder ~/.config/lazygit ./ ./lazygit/
|
||||
# tmux
|
||||
backup_folder ~/.tmux/tmux.conf ./tmux/tmux.conf ./tmux/tmux.conf
|
||||
|
||||
if [[ $OSTYPE == "linux"* ]]; then
|
||||
# hyprland
|
||||
|
@ -15,6 +15,8 @@ backup_folder ./lazygit ~/.config/ ~/.config/lazygit/
|
||||
backup_folder ./rua-scripts ~/.config/
|
||||
# btop
|
||||
backup_folder ./btop ~/.config/
|
||||
# tmux
|
||||
backup_folder ./tmux/tmux.conf ~/.tmux/
|
||||
|
||||
if [[ $OSTYPE == "linux"* ]]; then
|
||||
# hyprland
|
||||
|
@ -15,9 +15,9 @@ setw -g aggressive-resize on
|
||||
set-option -g renumber-windows on
|
||||
|
||||
# Change prefix key to C-a, easier to type, same to "screen"
|
||||
unbind C-b
|
||||
# unbind C-b
|
||||
# set -g prefix C-a
|
||||
set -g prefix C-q
|
||||
# set -g prefix C-q
|
||||
|
||||
# Set parent terminal title to reflect current window in tmux session
|
||||
set -g set-titles on
|
||||
@ -276,9 +276,9 @@ setw -g pane-active-border-style "fg=$color_main"
|
||||
# general status bar settings
|
||||
set -g status on
|
||||
set -g status-interval 5
|
||||
set -g status-position top
|
||||
set -g status-position bottom
|
||||
set -g status-justify left
|
||||
set -g status-right-length 100
|
||||
set -g status-right-length 50
|
||||
|
||||
# define widgets we're going to use in status bar
|
||||
# note, that this is not the complete list, some of them are loaded from plugins
|
||||
|
Reference in New Issue
Block a user