Initial commit

This commit is contained in:
eleksir
2024-01-06 18:33:44 +03:00
commit d85dc5d5bb
657 changed files with 262300 additions and 0 deletions

17
vendor/go.i3wm.org/i3/marks.go generated vendored Normal file
View File

@@ -0,0 +1,17 @@
package i3
import "encoding/json"
// GetMarks returns the names of all currently set marks.
//
// GetMarks is supported in i3 ≥ v4.1 (2011-11-11).
func GetMarks() ([]string, error) {
reply, err := roundTrip(messageTypeGetMarks, nil)
if err != nil {
return nil, err
}
var marks []string
err = json.Unmarshal(reply.Payload, &marks)
return marks, err
}