#!/bin/bash # this wrapper is needed, since inside awesome environment, python does not # know how to encode output (sys.stdout.encoding is None and defaults to # ascii). PYTHONIOENCODING=utf-8 python ~/bin/xmms2-status