Skip to content

Commit

Permalink
Merge pull request #42 from mniehe/main
Browse files Browse the repository at this point in the history
request: have monitor command return disabled monitors
  • Loading branch information
thiagokokada authored Nov 1, 2024
2 parents 269b7ba + 494b6dd commit 45fad41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ func (c *RequestClient) Layers() (l Layers, err error) {
// Monitors command, similar to 'hyprctl monitors'.
// Returns a [Monitor] object.
func (c *RequestClient) Monitors() (m []Monitor, err error) {
response, err := c.doRequest("monitors", nil, true)
response, err := c.doRequest("monitors all", nil, true)
if err != nil {
return m, err
}
Expand Down

0 comments on commit 45fad41

Please sign in to comment.