Beta software, written entirely by AI.Nothing has been reviewed line by line by a human or security-audited. No warranty, no liability: you use it at your own risk.Read more
Skip to content

Dynamic rules ​

A rule makes a widget property depend on a variable: "if CPU is above 80, make the background red and blink". Click the lightning-bolt button next to a property to build one.

Properties that can be dynamic ​

Background, text color, border color, animation, icon and text. A dynamic text or icon result may itself contain {variables}.

Building a rule ​

The Build logic window with two cases for the background color

The Build logic window works like this:

  1. If: pick a variable, an operator and a value.
  2. Combine conditions with AND, OR or XOR, or negate one with is not.
  3. Then: choose the color, animation, icon or text to apply.
  4. Else if: add more cases. The first matching case wins.
  5. Else: a default value, or leave it unchanged so the widget's own static value shows.
  6. Apply.

Operators: greater than, greater or equal, less than, less or equal, equal, not equal, between.

Use Remove dynamization to go back to a fixed value.

Values to type ​

Type numbers as they are (80), and text without quotes (live). For booleans such as system.audio.muted, type true or false (letters may be upper or lower case). 1 and 0 do not match a boolean yet.

Example: a busy CPU warning ​

PropertyRule
BackgroundIf system.cpu greater than 80 then red; else if greater than 50 then amber; else dark grey
AnimationIf system.cpu greater than 80 then Blink

Full walkthrough: A live CPU tile.

Safe by design

Rules are plain data: they can read a variable and compare it. There is no scripting and no code execution.

Macro Grid sites: PC · Phone · Plugins
Released under the MIT License. Beta software, written entirely by an AI assistant, provided as is without warranty.