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