Whim
WordNet
noun
(1) An odd or fanciful or capricious idea
"The theatrical notion of disguise is associated with disaster in his stories"
"He had a whimsy about flying to the moon"
"Whimsy can be humorous to someone with time to enjoy it"
(2) A sudden desire
"He bought it on an impulse"