expression
without thinking; unconsciously; somehow
Used after a volitional verb form (e.g., 見るともなしに) to indicate doing something without clear intention or awareness. Often implies a vague, half-conscious action.
See also: ともなく
窓の外を見るともなしに見ていたら、知らない人が庭に立っていた。
I was looking out the window without really paying attention, and then I noticed a stranger standing in the garden.
ラジオを聞くともなしに聞いていたら、懐かしい曲が流れてきた。
I was half-listening to the radio when a nostalgic song came on.