Wrap the tofu in a kitchen towel to remove moisture, then crumble it finely.
Finely chop the onion, carrot, and bell pepper.
Heat cooking oil in a pan and stir-fry the vegetables.
Add the tofu and stir-fry until the moisture evaporates.
Add the rice and stir-fry until all ingredients are well mixed.
Season with soy sauce and salt.
Add green onions and stir-fry briefly to finish.