diff --git a/INSTALL.sh b/INSTALL.sh index 0a84778..d391804 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -28,6 +28,8 @@ rm -rf ~/.zpreztorc rm -rf ~/.zprofile rm -rf ~/.zshenv rm -rf ~/.zshrc +rm -rf ~/.tmux +rm -rf ~/.tmux.conf # set Symlinks to configs ln -s $(pwd)/bash_aliases ~/.bash_aliases @@ -42,6 +44,8 @@ ln -s $(pwd)/zshrc ~/.zshrc ln -s $(pwd)/pythonstartup.py ~/.pythonstartup.py ln -s $(pwd)/zprofile.local ~/.zprofile.local ln -s $(pwd)/zpreztorc ~/.zpreztorc +ln -s $(pwd)/tmux ~/.tmux +ln -s $(pwd)/tmux.conf ~/.tmux.conf ln -s $HOME/.zprezto/runcoms/zlogin ~/.zlogin ln -s $HOME/.zprezto/runcoms/zlogout ~/.zlogout diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..a6eb8be --- /dev/null +++ b/tmux.conf @@ -0,0 +1,29 @@ +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'jimeh/tmux-themepack' +set -g @plugin 'tmux-plugins/tmux-battery' + + +# Configs +set -g @themepack 'powerline/double/cyan' + +# Other examples: +# set -g @plugin 'github_username/plugin_name' +# set -g @plugin 'git@github.com/user/plugin' +# set -g @plugin 'git@bitbucket.com/user/plugin' + + + + +set -g status-right '#{battery_status_bg} Batt: #{battery_icon} #{battery_percentage} #{battery_remain} | %a %h-%d %H:%M ' +set -g @batt_charged_icon "😎" +set -g @batt_charging_icon "👍" +set -g @batt_discharging_icon "👎" +set -g @batt_attached_icon "😐" + + + + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm' diff --git a/tmux/plugins/tmux-battery b/tmux/plugins/tmux-battery new file mode 160000 index 0000000..9a4e6ef --- /dev/null +++ b/tmux/plugins/tmux-battery @@ -0,0 +1 @@ +Subproject commit 9a4e6ef8e467a1f78aa881018f5ed4efca88f6ef diff --git a/tmux/plugins/tmux-sensible b/tmux/plugins/tmux-sensible new file mode 160000 index 0000000..526110e --- /dev/null +++ b/tmux/plugins/tmux-sensible @@ -0,0 +1 @@ +Subproject commit 526110eb9b60825d3276afba97ffa4cedb4b0ab9 diff --git a/tmux/plugins/tmux-themepack b/tmux/plugins/tmux-themepack new file mode 160000 index 0000000..748ab16 --- /dev/null +++ b/tmux/plugins/tmux-themepack @@ -0,0 +1 @@ +Subproject commit 748ab165adf6b5f74ed10d6a416dc55cd1906033 diff --git a/tmux/plugins/tpm b/tmux/plugins/tpm new file mode 160000 index 0000000..c8ac32a --- /dev/null +++ b/tmux/plugins/tpm @@ -0,0 +1 @@ +Subproject commit c8ac32a085d382c43190bda4fb5972e531f501fd