Gv

Flows

Flows #

From Kustom 3.70 all layers have a new tab called “flows”, what are flows? A flow is a quick way to get one or more tasks done with your apps. The Flows tab app lets you create your own automations with multiple steps. For example, download some data from a site then parse the content and download an image from it, or generate some text every hour or trigger an animation through a global with some delay after a touch.

...

Global Variables

What are Global Variables? #

Global Variables (GV) in Kustom are user-defined settings that can be applied across multiple modules or components simultaneously. They allow you to control various aspects of your design from a central location, making it easier to maintain consistency and implement theme-wide changes quickly.

How to use Globals #

If you open the Advanced Editor, you’ll notice a tab called “globals” on the first “root” container. This section allows you to add, remove, and modify Global variables.

...

GV - global variables

GV: global variables (get value of a global variable)

Syntax

gv(var, [default], [index])

Arguments

  • var: The key of the global to retrieve
  • default: An optional default to return if global is not found
  • index: An optional index to return a specific item in list globals

Examples

FormulaDescription
$gv(fgcolor, #FF0000)$Will return the value of var fgcolor or red color if not found




Privacy Policy