diff --git a/Makefile b/Makefile index 62fe790..675a1c6 100644 --- a/Makefile +++ b/Makefile @@ -12,4 +12,19 @@ update-zsh: if [ -f "$$HOME/$$base" ]; then \ cp -v "$$HOME/$$base" "$$file"; \ fi \ - done && echo "zsh files updated from home directory" || echo "zsh files not updated from home directory" \ No newline at end of file + done && echo "zsh files updated from home directory" || echo "zsh files not updated from home directory" + +tmux: + @for file in tmux/.[!.]*; do \ + file=$${file#tmux/}; \ + [ -f "$$HOME/$$file" ] && mv "$$HOME/$$file" "$$HOME/$$file.bak"; \ + done && cp -r tmux/.[!.]* ~/ && echo "tmux files copied to home directory" || echo "tmux files not copied to home directory" + +update-tmux: + @if [ -f "$$HOME/.tmux.conf" ]; then \ + cp "$$HOME/.tmux.conf" tmux/.tmux.conf; \ + fi + @if [ -d "$$HOME/.tmux" ]; then \ + cp -r $$HOME/.tmux/* tmux/.tmux/; \ + fi + @echo "tmux files updated from home directory" \ No newline at end of file diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..8be72f0 --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,9 @@ +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' + +run ~/git-repos/dracula-tmux/dracula.tmux + +set -g @dracula-plugins "git" + +run '~/.tmux/plugins/tpm/tpm' + diff --git a/tmux/.tmux/plugins/tpm b/tmux/.tmux/plugins/tpm new file mode 160000 index 0000000..99469c4 --- /dev/null +++ b/tmux/.tmux/plugins/tpm @@ -0,0 +1 @@ +Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946 diff --git a/tmux/.tmux/tpm b/tmux/.tmux/tpm new file mode 160000 index 0000000..99469c4 --- /dev/null +++ b/tmux/.tmux/tpm @@ -0,0 +1 @@ +Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946