feat: Added tmux.conf customizations

This commit is contained in:
pspiagicw 2023-10-19 16:09:27 +05:30
parent 187a57d1a2
commit 0fafe37197
2 changed files with 3 additions and 3 deletions

View file

@ -214,7 +214,7 @@ main()
script="#($current_dir/attached_clients.sh)"
elif [ $plugin = "mpc" ]; then
IFS=' ' read -r -a colors <<<$(get_tmux_option "@dracula-spotify-tui-colors" "green dark_gray")
IFS=' ' read -r -a colors <<<$(get_tmux_option "@dracula-mpc-colors" "green dark_gray")
script="#($current_dir/mpc.sh)"
elif [ $plugin = "spotify-tui" ]; then

View file

@ -15,8 +15,8 @@ main()
exit 1
fi
# FORMAT=$(get_tmux_option "@dracula-spotify-tui-format" "%f %s %t - %a")
mpc_playback=$(mpc current)
FORMAT=$(get_tmux_option "@dracula-mpc-format" "%title% - %artist%")
mpc_playback=$(mpc current -f "${FORMAT}")
echo ${mpc_playback}
}