Skip to content

Commit

Permalink
request: document batch mode for Keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Jul 22, 2024
1 parent b6e4300 commit 2ae74fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions request.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ func (c *RequestClient) GetOption(name string) (o Option, err error) {
}

// Keyword command, similar to 'hyprctl keyword'.
// Accept multiple commands at the same time, in this case it will use batch
// mode, similar to 'hyprctl keyword --batch'.
func (c *RequestClient) Keyword(params ...string) error {
response, err := c.doRequest("keyword", params...)
if err != nil {
Expand Down

0 comments on commit 2ae74fd

Please sign in to comment.