This gem shows the current Thyme status in Bitbar. It consists of two parts:
- A plugin for Thyme that, on every tick, writes the status to a file, and
- a plugin for Bitbar that reads that file and renders the status in the Bitbar instance.
gem install bitbar-thyme
Enable the bitbar plugin in ~/.thymerc:
begin
require 'thyme/bitbar_plugin'
use Thyme::BitbarPlugin
rescue LoadError
warn 'Warning: Could not load the bitbar plugin; try "gem install bitbar_thyme".'
end
Assuming ~/.bitbar is your plugins folder, the gem installer will create ~/.bitbar/thyme.1s.sh.