Merge branch 'master' into reject-unknown-plugins

This commit is contained in:
Ethan Edwards 2023-04-08 14:26:35 -04:00 committed by GitHub
commit e5ccca873b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 223 additions and 75 deletions

View file

@ -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")