Question for a rainy day:
Every day we say Brochos to give thanks and praise over various pleasures and gifts that HaShem gives us. However not everything that would seem worthy of a bracha gets an explicit bracha, rather we say either that the action/pleasure in question is either not eligible for a bracha or meant to be included when we say a different bracha
For example, R' Eliezer HaGadol (and likely other rishonim such as the Rambam, depending on your interpretation) holds that the blessing on clothing in ברכות השחר is a ברכת הנהנין. For another example, R' Ya'akov Emden writes that hamapil exempts one from a theoretical obligation to recite a birkas hanehenin on tashmish hamita. – Fred Nov 17
My question is sleeping with a roof over ones head. Has anyone ever seen an opinion that states when one says bracha x that you can have in mind thanking HaShem that you slept with a roof over your head protected from the elements ?