feat: Added tmux.conf customizations
This commit is contained in:
parent
187a57d1a2
commit
0fafe37197
2 changed files with 3 additions and 3 deletions
|
@ -214,7 +214,7 @@ main()
|
||||||
script="#($current_dir/attached_clients.sh)"
|
script="#($current_dir/attached_clients.sh)"
|
||||||
|
|
||||||
elif [ $plugin = "mpc" ]; then
|
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)"
|
script="#($current_dir/mpc.sh)"
|
||||||
|
|
||||||
elif [ $plugin = "spotify-tui" ]; then
|
elif [ $plugin = "spotify-tui" ]; then
|
||||||
|
|
|
@ -15,8 +15,8 @@ main()
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# FORMAT=$(get_tmux_option "@dracula-spotify-tui-format" "%f %s %t - %a")
|
FORMAT=$(get_tmux_option "@dracula-mpc-format" "%title% - %artist%")
|
||||||
mpc_playback=$(mpc current)
|
mpc_playback=$(mpc current -f "${FORMAT}")
|
||||||
echo ${mpc_playback}
|
echo ${mpc_playback}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue