config: simplify fetching widget configuration

Closes #41