https://github.com/kodie/bitbar-home-config
Example of how to mimic the functionality of the home-config npm module in bash
https://github.com/kodie/bitbar-home-config
bitbar bitbar-plugin config example plugin tutorial
Last synced: 3 months ago
JSON representation
Example of how to mimic the functionality of the home-config npm module in bash
- Host: GitHub
- URL: https://github.com/kodie/bitbar-home-config
- Owner: kodie
- License: mit
- Created: 2017-02-09T22:41:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-09T22:58:02.000Z (over 8 years ago)
- Last Synced: 2025-01-21T17:33:21.849Z (5 months ago)
- Topics: bitbar, bitbar-plugin, config, example, plugin, tutorial
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Home Config BitBar Example [](https://travis-ci.org/kodie/bitbar-home-config)
This is a small example of how to mimic the functionality of the [home-config npm module](https://www.npmjs.com/package/home-config) in a bash [BitBar](https://github.com/matryer/bitbar) plugin.## Requirements
Since this uses associative arrays, bash 4.0 or higher is required. See how to upgrade to bash 4 on Mac OS X here: http://clubmate.fi/upgrade-to-bash-4-in-mac-os-x/## Config Example
```
[home_config]
color=blue
text=This text came from the config file!
[another_plugin]
apiKey=c9ff119073ea2567730fb42e3a4fe805
```## License
MIT. See the License file for more info.