Merge branch 'master' into reject-unknown-plugins
This commit is contained in:
commit
e5ccca873b
9 changed files with 223 additions and 75 deletions
|
@ -128,9 +128,16 @@ main()
|
|||
|
||||
for plugin in "${plugins[@]}"; do
|
||||
|
||||
if [ $plugin = "git" ]; then
|
||||
if [ $plugin = "cwd" ]; then
|
||||
IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-cwd-colors" "dark_gray white")
|
||||
tmux set-option -g status-right-length 250
|
||||
script="#($current_dir/cwd.sh)"
|
||||
|
||||
elif [ $plugin = "git" ]; then
|
||||
IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-git-colors" "green dark_gray")
|
||||
script="#($current_dir/git.sh)"
|
||||
tmux set-option -g status-right-length 250
|
||||
script="#($current_dir/git.sh)"
|
||||
|
||||
|
||||
elif [ $plugin = "battery" ]; then
|
||||
IFS=' ' read -r -a colors <<< $(get_tmux_option "@dracula-battery-colors" "pink dark_gray")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue