SI: System info (next alarm, uptime, model, rom)

Syntax

si(type)

Arguments

  • type: Info type, see examples

Examples

Formula Description
$df("EEE hh:mma", si(alarmd))$ Next alarm formatted date (if set)
$si(alarmt)$ Next alarm as original text
$si(alarmon)$ Alarm switch, return 1 if alarm is set, 0 otherwise
Next alarm $tf(si(alarmd))$ Time to next alarm (if set)
$si(land)$ Screen Orientation (gives 0 in portrait, 1 if landscape)
$si(locked)$ Device Lock (gives 1 if locked, 0 if not)
$si(lmode)$ Location mode, one of: OFF, SENSORS_ONLY, BATTERY_SAVING, HIGH_ACCURACY, UNKNOWN
Uptime: $tf(df(S) - df(S, si(boot)))$ Time since boot (uptime)
$si(volr)$ Ringer volume (0 to 100)
$si(vola)$ Alarm volume (0 to 100)
$si(rwidth)$ Width of root container (in kustom points)
$si(rheight)$ Height of root container (in kustom points)
$si(rratio)$ Aspect ratio of root container (in kustom points)
$si(model)$ Phone Model
$si(man)$ Phone Manufacturer
$si(build)$ ROM Name
$si(aver)$ Android version number
$si(mindex)$ Module index in its parent
$si(mindex, 1)$ Module index in its parent's parent
$si(lnchname)$ Name of currently set Launcher
$si(lnchpkg)$ Pkg of currently set Launcher
$si(pkgname, si(lnchpkg))$ Give name of an app from a pkg name
$si(pkgver)$ Gives version name of pkg if specified, of kustom if not
$si(pkgvern, si(lnchpkg))$ Gives version number of pkg if specified, of kustom if not
Was this article helpful?
0 out of 0 found this helpful