Add `xdg` plugin
Merge pull request #233 from iven/xdg