Fetching details from the dictionary...

whim; caprice; fancy
capricious; fickle; whimsical; impulsive; changeable; temperamental
気紛れで始めた趣味が今では本業になっている。
A hobby I started on a whim has now become my main profession.
彼の気紛れな行動には周囲も振り回されている。
His capricious behavior keeps everyone around him on edge.
天気の気紛れで急に雨が降り出すことがある。
The weather's fickleness sometimes brings sudden rain.