use variable for icon path

not sure how to make the variable accessible outside of this library file as I'm lacking less skills.