initial commit

This commit is contained in:
2025-07-25 13:41:23 +02:00
commit 840de62902
27 changed files with 1772 additions and 0 deletions

13
model_keyboard_layout.go Normal file
View File

@ -0,0 +1,13 @@
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)
}