Cherry-pick fix for update script

This commit is contained in:
Trianta 2024-01-16 19:05:19 -06:00
parent 45f9fc2a67
commit 1cf43dcad8
3 changed files with 18 additions and 0 deletions

View File

@ -6,6 +6,10 @@ echo "Syncing user with hypr..."
rsync --recursive $(dirname "$0")/hypr/ ~/.config/hypr
echo "Syncing user with nvim..."
rsync --recursive $(dirname "$0")/nvim/ ~/.config/nvim
echo "Syncing user with tmux..."
echo " Note: prefix + I for tmux setup"
mkdir -p ~/tmux
rsync --recursive $(dirname "$0")/tmux/tmux.conf ~/.config/tmux/tmux.conf
echo "Syncing user with waybar..."
rsync --recursive $(dirname "$0")/waybar/ ~/.config/waybar
echo "Syncing complete!"

12
tmux/tmux.conf Executable file
View File

@ -0,0 +1,12 @@
# Start panels at 1
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# Plugins
set -g @plugin 'catppuccin/tmux'
set -g @catppuccin_flavour 'mocha' # or frappe, latte, mocha
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
run '/usr/share/tmux-plugin-manager/tpm'

View File

@ -6,3 +6,5 @@ echo "Syncing dotfiles with hypr..."
rsync --recursive ~/.config/hypr $(dirname "$0")
echo "Syncing dotfiles with nvim..."
rsync --recursive ~/.config/nvim $(dirname "$0")
echo "Syncing dotfiles with tmux..."
rsync ~/.config/tmux/tmux.conf $(dirname "$0")/tmux/tmux.conf