From a0b131ee7d75755bbf54ceeeca05ee729d69f82a Mon Sep 17 00:00:00 2001 From: digital-freak Date: Sun, 14 Jan 2018 02:18:42 +0500 Subject: [PATCH] Change CPU graph, upspeed and downspeed graphs colors to gradients --- system.sh | 4 ++-- templates/system.tmpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system.sh b/system.sh index fc978af..012dfb9 100755 --- a/system.sh +++ b/system.sh @@ -60,8 +60,8 @@ for IFACE in ${IFACES}; do NL='${color 2A403D}${font Poky:size=16}w${font} ${color B53C27}${hr}${color}\ ${voffset -20}${goto 30}'${IFACE}'${alignr}${offset -3}'${INET}'\ ${voffset 5}${alignr}${offset -3}'${ETHER}'\ -${voffset 5}${goto 30}↑${alignr}${offset -15}${upspeed '${IFACE}'}${offset -172}${alignr}${offset -3}${voffset -7}${upspeedgraph '${IFACE}' 16,60}\ -${goto 30}↓${alignr}${offset -15}${downspeed '${IFACE}'}${offset -172}${alignr}${offset -3}${voffset -7}${downspeedgraph '${IFACE}' 16,60}\ +${voffset 5}${goto 30}↑${alignr}${offset -15}${upspeed '${IFACE}'}${offset -172}${alignr}${offset -3}${voffset -7}${upspeedgraph '${IFACE}' 16,60 E1E7CD B53C27 -t -l}\ +${goto 30}↓${alignr}${offset -15}${downspeed '${IFACE}'}${offset -172}${alignr}${offset -3}${voffset -7}${downspeedgraph '${IFACE}' 16,60 E1E7CD B53C27 -t -l}\ ${voffset -4}${goto 30}${color 7F8484}${stippled_hr}${color}' NET_LOAD=${NET_LOAD}${NL}'\ diff --git a/templates/system.tmpl b/templates/system.tmpl index 24292da..3f057ac 100644 --- a/templates/system.tmpl +++ b/templates/system.tmpl @@ -50,7 +50,7 @@ ${color 2A403D}${font Poky:size=16}P${font} ${color B53C27}${hr}${color} ${voffset -20}${alignr}${offset -3}[cpu_name] ${voffset 5}${alignr}${offset -3}[cpu_speed] ${voffset -3}${alignr}${offset -120}${font Open Sans Condensed Light:size=14}${cpu cpu0}%${font} -${voffset -22}${alignr}${offset -3}${cpugraph cpu0 16,110} +${voffset -22}${alignr}${offset -3}${cpugraph cpu0 16,110 E1E7CD B53C27 -t} [cpu_load] ${voffset -4}${goto 30}${color 7F8484}${stippled_hr}${color} ${color 2A403D}${font Poky:size=16}M${font} ${color B53C27}${hr}${color}