Browse Source

Change CPU graph, upspeed and downspeed graphs colors to gradients

master
digital-freak 7 years ago
parent
commit
a0b131ee7d
  1. 4
      system.sh
  2. 2
      templates/system.tmpl

4
system.sh

@ -60,8 +60,8 @@ for IFACE in ${IFACES}; do
NL='${color 2A403D}${font Poky:size=16}w${font} ${color B53C27}${hr}${color}\ NL='${color 2A403D}${font Poky:size=16}w${font} ${color B53C27}${hr}${color}\
${voffset -20}${goto 30}'${IFACE}'${alignr}${offset -3}'${INET}'\ ${voffset -20}${goto 30}'${IFACE}'${alignr}${offset -3}'${INET}'\
${voffset 5}${alignr}${offset -3}'${ETHER}'\ ${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}\ ${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}\ ${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}' ${voffset -4}${goto 30}${color 7F8484}${stippled_hr}${color}'
NET_LOAD=${NET_LOAD}${NL}'\ NET_LOAD=${NET_LOAD}${NL}'\

2
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 -20}${alignr}${offset -3}[cpu_name]
${voffset 5}${alignr}${offset -3}[cpu_speed] ${voffset 5}${alignr}${offset -3}[cpu_speed]
${voffset -3}${alignr}${offset -120}${font Open Sans Condensed Light:size=14}${cpu cpu0}%${font} ${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] [cpu_load]
${voffset -4}${goto 30}${color 7F8484}${stippled_hr}${color} ${voffset -4}${goto 30}${color 7F8484}${stippled_hr}${color}
${color 2A403D}${font Poky:size=16}M${font} ${color B53C27}${hr}${color} ${color 2A403D}${font Poky:size=16}M${font} ${color B53C27}${hr}${color}

Loading…
Cancel
Save