Skip to content

Get display info

GET
/api/display

Query the current display name and resolution.

Display info.

object
display
required

X11 display name.

string
Example
:0
width
required

Display width in pixels.

integer
Example
1440
height
required

Display height in pixels.

integer
Example
900