package niri import "encoding/json" type KeyboardLayouts struct { Names []string `json:"names"` CurrentIndex int `json:"current_idx"` } func (m KeyboardLayouts) String() string { data, _ := json.MarshalIndent(m, "", "\t") return string(data) }