Objects

alignc

Align the text to center.


alignr

Align the text to the right.


battery

Display current battery status and level.


battery_bar

Display a bar of the current battery level.


battery_percent

Display current battery level.


color

Change the current paint color to the default color.


color(color)

Change the current paint color to the value of color.

Parameters:

cpu

Display the percentage of cpu usage.


cpubar

Display the percentage of cpu usage in a bar.


cpubar

Display the percentage of cpu usage in a bar.


cpugraph(color1, color2)

Display a historical graph of cpu usage.

Parameters:

cpugraph(hw, color1, color2)

Display a historical graph of cpu usage.

Parameters:

downspeed(device)

Display the download speed for a network interface.

Parameters:

downspeedgraph(device, hw, color1, color2)

Display a historical graph of download speeds for a device.

Parameters:

font

Reset to the current font.


font(font)

Change to the font described in font

Parameters:

freq

Returns firts CPU's frequency in MHz.


freq(cpuNum)

Returns CPU n's frequency in MHz.

Parameters:

fs_bar(mountPoint)

Display current file system usage in a usage bar.

Parameters:

fs_bar


fs_free(mountPoint)

Display available diskspace.

Parameters:

fs_size(mountPoint)

Display disk size.

Parameters:

fs_used(mountPoint)

Display the amount of disk usage.

Parameters:

fs_used_perc(mountPoint)

Display the amount of disk usage.

Parameters:

goto(position)

Change current horizontal location to postition

Parameters:

hr

Draw a horizontal rule using the default line height.


hr(lh)

Draw a horizontal rule using a line height of lh.

Parameters:

image

Draw the image specified by the path. The cursor position will not be changed.


interval

Changed the current update interval.


kernel

Display the kernel version.


length(minLength, maxLength, object)

Limit an objects output to a certain number of characters.

Parameters:

loadavg

Display the 1, 5 and 15 minute load avgerage of jobs in the run queue.


loadavg(idx)

Display either 1, 5 or 15 minute load avgerage of jobs in the run queue.

Parameters:

machine

Display the machine name


mem

Display memory used.


membar

Display memory used in a bar graph.


membar(hw)

Display memory used in a bar graph.

Parameters:

memmax

Display the maximum available memory.


memperc

Display the percentage of memory being used.


nodename

Display the system name


offset(pixels)

Move text horizontally by N pixels

Parameters:

printf(format, objects)

Accepts a format string and other text objects.

Parameters:

processes

Display the total number of forks since boot.


realtime

Display the systems time since the system was booted, including deep sleep.


running_processes

Number of processes in runnable state.


stippled_hr

Draw a stippled horizontal rule with the default spacing.


stippled_hr(spacing)

Draw a stippled horizontal rule with the default spacing.

Parameters:

swap

Display the amount of swap memory being used.


swapbar

Display swap memory used in a bar graph.


swapbar(hw)

Display swap used in a bar graph.

Parameters:

swapmax

Display the maximum swap memory available.


swapperc

Display the percentage of swap memory being used.


sysname

Display the system name


time(format)

Prints the local time formatted according to parameter.

Parameters:

top(var, num)

Display information about the top running processes. For example to display the top three processes, and their cpu usage:


  ${top name 1}${top cpu 1}
  ${top name 2}${top cpu 2}
  ${top name 3}${top cpu 3}
 

Parameters:

top_mem(var, num)

Display information about the top memory consuming processes. For example to display the top three processes, and their mem usage:


  ${top name 1}${top mem 1}
  ${top name 2}${top mem 2}
  ${top name 3}${top mem 3}
 

Parameters:

totaldown(device)

Display the download speed for a network interface.

Parameters:

totalup(device)

Display the download speed for a network interface.

Parameters:

upspeed(device)

Display the upload speed for a network interface.

Parameters:

upspeedgraph(device, hw, color1, color2)

Display a historical graph of upload speeds for a device.

Parameters:

uptime

Display the systems uptime. On android this does not include when the system enters deep sleep. @see Realtime.


vgoto(position)

Change current vertical location to postition

Parameters:

voffset(pixels)

Move text vertically by N pixels

Parameters: