We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d746bfb commit ab5c8feCopy full SHA for ab5c8fe
src/Screen.php
@@ -18,6 +18,16 @@ public function displays(): array
18
return $this->client->get('screen/displays')->json('displays');
19
}
20
21
+ public function primary(): object
22
+ {
23
+ return $this->client->get('screen/primary-display')->json('primaryDisplay');
24
+ }
25
+
26
+ public function active(): object
27
28
+ return $this->client->get('screen/active')->json();
29
30
31
/**
32
* Returns the center of the screen where the mouse pointer is placed.
33
*
0 commit comments