The Chidushei Harim zy”a had a custom to light his pipe every erev Shabbos a few minutes before the time of hadlakas neiros. He would then smoke until it was time to light the candles, when he would extinguish his pipe.
He once explained why he does this by saying, “Every Jew is mekabel Shabbos on erev Shabbos. A worker puts down his tools and a storeowner closes his shop. But what do I do? I don’t have a store or work with tools, so how do I show that I am being mekabel Shabbos? Therefore, I start to smoke and I put out my pipe as a sign that I recognize that Shabbos is starting and I am accepting the sanctity of Shabbos.”