Added in 1.6

$gfx

Returns the name of the first graphics card found.

Might not be the default graphics card.


$gfx(N)

Returns the name of the Nth graphics card found.

Parameters

Parameter Description
N If N = 0, number of graphics cards, otherwise the Nth graphics card.

Example

; Print number of graphics cards.
//echo -ag $gfx(0)

; Print the name of the first graphics cards.
//echo -ag $gfx(1)