package internal import ( "github.com/godbus/dbus/v5" "time" ) type KeyboardInfo struct { Name string `json:"name"` Address string `json:"address"` LeftBattery int `json:"left_battery"` RightBattery int `json:"right_battery"` Connected bool `json:"connected"` LastUpdate time.Time `json:"last_update"` } type Config struct { Name string `json:"name"` Address string `json:"address"` UpdateInterval int `json:"update_interval"` LowBatteryThreshold int `json:"low_battery_threshold"` ShowNotifications bool `json:"show_notifications"` } type Device struct { Name string Address string Path dbus.ObjectPath }