master
Daniel Napora 2022-04-26 20:43:02 +02:00
parent a43cf4fc54
commit 263118d6e7
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ if [ $phwmon_monitor = true ];then
[[ -v phwmon_swap ]] && : || mb-setvar phwmon_swap=false [[ -v phwmon_swap ]] && : || mb-setvar phwmon_swap=false
[[ -v phwmon_net ]] && : || mb-setvar phwmon_net=true [[ -v phwmon_net ]] && : || mb-setvar phwmon_net=true
[[ -v phwmon_io ]] && : || mb-setvar phwmon_io=false [[ -v phwmon_io ]] && : || mb-setvar phwmon_io=false
[[ -v phwmon_bgcolor ]] && : || mb-setvar phwmon_bgcolor=#303030 [[ -v phwmon_bgcolor ]] && : || mb-setvar phwmon_bgcolor=#30303080
[[ -v phwmon_alertcolor ]] && : || mb-setvar phwmon_alertcolor=#ff0000 [[ -v phwmon_alertcolor ]] && : || mb-setvar phwmon_alertcolor=#ff0000
[[ -v phwmon_cpucolor ]] && : || mb-setvar phwmon_cpucolor=#70b433 [[ -v phwmon_cpucolor ]] && : || mb-setvar phwmon_cpucolor=#70b433
[[ -v phwmon_memcolor ]] && :|| mb-setvar phwmon_memcolor=#efc541 [[ -v phwmon_memcolor ]] && :|| mb-setvar phwmon_memcolor=#efc541
@ -58,7 +58,7 @@ if [ $phwmon_monitor = true ];then
[[ -v phwmon_iocolor ]] && : || mb-setvar phwmon_iocolor=#ff5e56 [[ -v phwmon_iocolor ]] && : || mb-setvar phwmon_iocolor=#ff5e56
[[ -v phwmon_iconsize ]] && : || mb-setvar phwmon_iconsize=32 [[ -v phwmon_iconsize ]] && : || mb-setvar phwmon_iconsize=32
bg="--bg=${phwmon_bgcolor:-#DDDDDD}" bg="--bg=${phwmon_bgcolor:-#30303080}"
fg_alert="--fg_alert=${phwmon_alertcolor:-#ff0000}" fg_alert="--fg_alert=${phwmon_alertcolor:-#ff0000}"
fg_cpu="--fg_cpu=${phwmon_cpucolor:-#70b433}" fg_cpu="--fg_cpu=${phwmon_cpucolor:-#70b433}"
fg_mem="--fg_mem=${phwmon_memcolor:-#efc541}" fg_mem="--fg_mem=${phwmon_memcolor:-#efc541}"