Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phatblat/powerline-xcodeversion
https://github.com/phatblat/powerline-xcodeversion
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/phatblat/powerline-xcodeversion
- Owner: phatblat
- License: mit
- Created: 2018-07-25T23:23:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-02T21:47:04.000Z (almost 6 years ago)
- Last Synced: 2024-10-14T18:29:01.029Z (2 months ago)
- Language: Python
- Size: 66.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🛠️▶️ Powerline Xcode Version Segment
Powerline status prompt segment which displays the active version of Xcode.
[![PyPI version](https://badge.fury.io/py/powerline-xcodeversion.svg)](https://badge.fury.io/py/powerline-xcodeversion)
# 🤳🏻 Usage
Add the `xcodeversion` snippet below to your powerline theme JSON file.
```diff
{
"segments": {
"left": [
+ {
+ "function": "powerline_xcodeversion.xcodeversion",
+ "priority": 60
+ },
...
```## 🔧 Configuration
The spacing and symbol in the xcodeversion section can be customized (or removed).
Add the following to your main
[`powerline/config.json`](https://powerline.readthedocs.io/en/master/configuration.html)
file:```diff
{
"segment_data": {
+ "xcodeversion": {
+ "args": {
+ "format": "🛠 {}"
+ }
+ },
...
```The example above shows the default format.
The `{}` will be replaced with the version number.💡 Remember to kill the powerline daemon with `powerline-daemon -k`
so that your changes will show up immediately while you test configuration changes.# 📄 License
This repo is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for rights and limitations.