refactor: update colors

This commit is contained in:
Abhishek Keshri 2024-03-17 07:52:30 +05:30
parent 2d42bbd191
commit 9d3e6221b2
No known key found for this signature in database

View file

@ -16,36 +16,33 @@ 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 rplugins <<<"$(get_tmux_option '@tmux2k-right-plugins' 'battery network time')"
text='#282a36'
bg_main='#15152a'
bg_alt='#45455a'
black='#0a0a0f',
blue='#1688f0',
cyan='#11dddd',
gray='#15152a'
green='#3dd50A',
orange='#ffb86c'
pink='#ff79c6'
purple='#BF58FF',
red='#ff001f',
white='#d5d5da'
yellow='#ffd21a',
light_cyan='#8be9fd'
light_gray='#45455a'
light_green='#50fa7b'
light_purple='#bd93f9'
red='#ff001f',
light_red='#ff0055'
light_yellow='#f1fa8c'
plugin_fg='#282a36'
green='#3dd50A',
light_green='#ccffcc',
blue='#1688f0',
light_blue='#11dddd',
yellow='#ffb86c'
light_yellow='#ffd21a',
purple='#BF58FF',
light_purple='#ff65c6'
declare -A plugin_colors=(
["git"]="green plugin_fg"
["battery"]="pink plugin_fg"
["gpu"]="orange plugin_fg"
["cpu"]="blue plugin_fg"
["ram"]="yellow plugin_fg"
["network"]="purple plugin_fg"
["bandwidth"]="purple plugin_fg"
["ping"]="purple plugin_fg"
["weather"]="orange plugin_fg"
["time"]="cyan plugin_fg"
["git"]="green text"
["cpu"]="blue text"
["ram"]="light_yellow text"
["gpu"]="yellow text"
["battery"]="light_purple text"
["network"]="purple text"
["bandwidth"]="purple text"
["ping"]="purple text"
["weather"]="yellow text"
["time"]="light_blue text"
)
get_plugin_colors() {