feat: update default plugins

This commit is contained in:
Abhishek Keshri 2024-11-04 00:53:34 +05:30
parent dc78c7d312
commit f1d2dc175a
No known key found for this signature in database

View file

@ -14,8 +14,8 @@ r_sep=$(get_tmux_option "@tmux2k-right-sep" )
wl_sep=$(get_tmux_option "@tmux2k-window-left-sep") wl_sep=$(get_tmux_option "@tmux2k-window-left-sep")
wr_sep=$(get_tmux_option "@tmux2k-window-right-sep") wr_sep=$(get_tmux_option "@tmux2k-window-right-sep")
show_flags=$(get_tmux_option "@tmux2k-show-flags" true) show_flags=$(get_tmux_option "@tmux2k-show-flags" true)
IFS=' ' read -r -a lplugins <<<"$(get_tmux_option '@tmux2k-left-plugins' 'git cpu ram')" IFS=' ' read -r -a lplugins <<<"$(get_tmux_option '@tmux2k-left-plugins' 'git cwd')"
IFS=' ' read -r -a rplugins <<<"$(get_tmux_option '@tmux2k-right-plugins' 'cwd battery network time')" IFS=' ' read -r -a rplugins <<<"$(get_tmux_option '@tmux2k-right-plugins' 'cpu ram battery network time')"
theme=$(get_tmux_option "@tmux2k-theme" 'default') theme=$(get_tmux_option "@tmux2k-theme" 'default')
icons_only=$(get_tmux_option "@tmux2k-icons-only" false) icons_only=$(get_tmux_option "@tmux2k-icons-only" false)
compact=$(get_tmux_option "@tmux2k-compact-windows" false) compact=$(get_tmux_option "@tmux2k-compact-windows" false)
@ -38,10 +38,10 @@ light_purple=$(get_tmux_option "@tmux2k-light-purple" '#ff65c6')
declare -A plugin_colors=( declare -A plugin_colors=(
["git"]="green text" ["git"]="green text"
["cpu"]="blue text" ["cpu"]="light_green text"
["cwd"]="purple text" ["cwd"]="blue text"
["ram"]="light_yellow text" ["ram"]="light_yellow text"
["gpu"]="yellow text" ["gpu"]="red text"
["battery"]="light_purple text" ["battery"]="light_purple text"
["network"]="purple text" ["network"]="purple text"
["bandwidth"]="purple text" ["bandwidth"]="purple text"
@ -154,10 +154,10 @@ set_theme() {
text=$bg_main text=$bg_main
plugin_colors=( plugin_colors=(
["git"]="text green" ["git"]="text green"
["cpu"]="text blue" ["cpu"]="text light_green"
["cwd"]="text light_green" ["cwd"]="text blue"
["ram"]="text light_yellow" ["ram"]="text light_yellow"
["gpu"]="text yellow" ["gpu"]="text red"
["battery"]="text light_purple" ["battery"]="text light_purple"
["network"]="text purple" ["network"]="text purple"
["bandwidth"]="text purple" ["bandwidth"]="text purple"