You can follow the discussion on Work with Polybar in Emacs X Window Manager, Part 2: Add Workspace Indicators without having to leave a comment. Cool, huh? Just enter your email address in the form here below and you're all set.