automatically determine path to icons
pep8 fixup for battery and weather widgets