SI - system info

SI: system info (next alarm, uptime, device model, dark mode, orientation, rom…)

Syntax

si(type)

Arguments

  • type: Info type, see examples

Examples

FormulaDescription
$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(ringer)$Ringer mode, one of:: NORMAL, SILENT, VIBRATE
$si(darkmode)$Returns 1 if system dark mode is on
$si(darkwp)$Returns 1 if current wallpaper prefers dark colors
$si(powersave)$Returns 1 if system is in power save mode (saving battery)
$si(wpcolor1)$Primary color of wallpaper if available, 0 otherwise
$si(wpcolor2)$Secondary color of wallpaper if available, 0 otherwise
$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(mcount)$Current group module count
$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
$si(system, screen_brightness)$Current screen brightness
$si(swidth)$Width of screen in DPI
$si(sheight)$Height of screen in DPI
$si(sdpi)$DPI
$si(sdensity)$Density (Pixel Per DPI)
$si(skpi)$KPI (Pixels per Kustom Point)
$si(wpzoomed)$Returns 1 if wallpaper is currently zoomed (ex: app drawer is open)
$si(sysca1, 50)$System (MaterialYou) first accent color at 50% tone (0 is white, 100 is black)
$si(sysca2, 80)$System (MaterialYou) third accent color at 80% tone
$si(syscn1, 20)$System (MaterialYou) first neutral color at 20% tone



Privacy Policy