If you are using Gminer app for mine ETH and 2miners as your mining pool, you can use the scripts I created to display your hashrate and ETH balance.
Source code (github) https://github.com/jmcausing/xbar-2miners-gminer
miner.2s.sh file will refresh every 2 seconds to get the API from gminer. (NOTE: make sure to run the gminer with –api PORT parameter. EX: –api 8887 – see the screenshot top left address bar where I used 8887)
ethblan.5m.sh file will refresh every 5 minutes.
Screenshot for demo: