Etymology
Today it means: In a self-satisfied manner. Full definition →
From smug + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.