Options available for use with all meters.
Options
Meter-
Type of the meter (e.g.
BarorString). MeterStyle-
Specifies one or more sections as MeterStyles from which option values are inherited. Multiple MeterStyles are delimited with pipes (
|). MeasureName,MeasureName2,MeasureName3...- "Binds" the meter to one or more measures. This means that the meter displays the values of these measures in some way. The exact form of the display depends on the type of meter. See each meter type's page for details about what kind of values are valid for that type, and how the values are displayed.
X,YDefault:0-
Specify the x and y position of the meter relative to the top-left edge of the skin. If the value is appended with
r, the position is relative to the previous meter x or y position (e.g.5ror(5 * 2)r). If the value is appended withR, the position is relative to the bottom-right edge of the previous meter. W,H-
The width and height of the meter. String meters and Image meters (with an image) can automatically determine width and height. For all other cases,
WandHmust be defined. HiddenDefault:0-
If set to
1, the meter is hidden. The visibility can also be changed with the !ShowMeter and !HideMeter bangs. UpdateDividerDefault:1-
Sets the update frequency of the meter.
Example: If set to
1, the meter is updated on every update cycle. If set to5, the meter is updated on every fifth update cycle and so forth. OnUpdateAction-
Action to execute on each Update of the meter. This option obeys any UpdateDivider on the meter.
SolidColor,SolidColor2Default:0,0,0,0-
Color of the meter background. If
SolidColor2is also specified, the background is a gradient composed ofSolidColorandSolidColor2.Hint:
SolidColor=0,0,0,1can be used to make transparent areas of the meter clickable. GradientAngle-
Angle of the gradient in degrees (for
SolidColorandSolidColor2). BevelTypeDefault:0-
If enabled, draws a bevel around the edges of the rectangle specified by
HandW. Valid values are:0: No bevel1: Raised2: Sunken
AntiAliasDefault:0-
If set to
1, antialising is used to display the meter. DynamicVariablesDefault:0-
If set to
1, the meter is dynamic.See also: Dynamic Variables
TransformationMatrixDefault:1;0;0;1;0;0-
Defines a 3x2 matrix which can be used to transform the meter. Transformations include: scaling, skewing, and translating (ie. moving). There must be exactly 6 values separated by semicolons
;. Combining these can have drastic effects on the meter it is applied to.See also: Transformation Matrix
Examples:
TransformationMatrix=-1; 0; 0; 1; 40; 0: This will flipXalong the lineX=20.TransformationMatrix=1; 0; 0; -1; 0; 100: This will flipYalong the lineY=50.TransformationMatrix=0.5; 0; 0; 1; 25; 0: This will scaleXby0.5atX=50.
Note: All transformations are relative to the top left corner of the window and not to the meter itself. So if you want to rotate the meter by its center the translation component in the matrix must be relative to the top left corner of the window.
Also note that the even if the meter's visual location and orientation is changed by the transformation the place where it would be located without the transformation will still be used to define the window size and register the mouse clicks. This might change in the future though.