- Install BitBar
- Copy plugin file to your BitBar plugin directory
- Display Yahoo Currency Rates
- Display Command Output From Remote Machine
- Display Tweet Count of Twitter Account
- Display Subscriber Count of Youtube Account
Plugin to display currency rates from Yahoo Finance
Put yahoo currency symbols as key and id's as value into currencies
dictionary in currency-converter.py file.
ex:
currencies['$'] = 'TRY=X'
currencies['€'] = 'EURTRY=X'
Plugin to display command output from remote machine.
Set ip
andusername
variables and add desired commands to run into commands
variable in display-command-output-from-remote-machine.py file.
p.s.: passwordless ssh configuration must be done before running this script.
ex:
ip = "10.151.23.1"
username = "user"
...
commands['CurrentTime'] = 'date'
commands['Hw'] = 'echo HelloWorld'
Plugin to display tweet count of twitter account with latest tweet's timestamp.
Set username
variable in display-tweet-count.py file.
ex:
username = "VENETHIS"
Plugin to display subscriber count of youtube account.
Set account_name
variable in display-youtube-subscriber-count.py file.
ex:
account_name = "Besiktas"