Hostname field expansion
This commit is contained in:
parent
c5edf04976
commit
a20777be37
@ -39,11 +39,15 @@ conky.config = {
|
|||||||
|
|
||||||
conky.text =
|
conky.text =
|
||||||
[[\
|
[[\
|
||||||
|
${lua_parse printf %-20s ${nodename_short}} \
|
||||||
RAM:${lua_parse printf %3.0f%% ${memperc}} \
|
RAM:${lua_parse printf %3.0f%% ${memperc}} \
|
||||||
Swap:${lua_parse printf %3.0f%% ${swapperc}} \
|
Swap:${lua_parse printf %3.0f%% ${swapperc}} \
|
||||||
CPU:${lua_parse printf %3.0f%% ${cpu cpu0}} \
|
CPU:${lua_parse printf %3.0f%% ${cpu cpu0}} \
|
||||||
/ ${fs_used /}/${fs_size /} \
|
/ ${lua_parse printf %10s/%10s ${fs_used /} ${fs_size /}} \
|
||||||
${loadavg} \
|
${loadavg} \
|
||||||
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} \
|
${lua_parse printf %-20s ${top name 1}} \
|
||||||
|
${lua_parse printf %8d ${top pid 1}} \
|
||||||
|
${lua_parse printf %3.2f ${top cpu 1}} \
|
||||||
|
${lua_parse printf %3.2f ${top mem 1}} \
|
||||||
Net: ${lua_parse printf %10s▲%10s▼ ${upspeed wlp4s0} ${downspeed wlp4s0}} \
|
Net: ${lua_parse printf %10s▲%10s▼ ${upspeed wlp4s0} ${downspeed wlp4s0}} \
|
||||||
]];
|
]];
|
||||||
|
Loading…
Reference in New Issue
Block a user