Upon first login, the background image wasn't being set and displayed as a dark image. This was due to premature swww initialization and incorrect $SET_BG handling.
Changes
Added sleep 0.5 to ensure swww initializes before setting the background.
Changed the if condition to check for an empty $SET_BG and set the default background accordingly.
Issue
Upon first login, the background image wasn't being set and displayed as a dark image. This was due to premature
swww
initialization and incorrect$SET_BG
handling.Changes
0.5
to ensureswww
initializes before setting the background.$SET_BG
and set the default background accordingly.