A Powerline segment for showing the active version of Xcode
Project description
🛠️▶️ Powerline Xcode Version Segment
Powerline status prompt segment which displays the active version of Xcode.
🤳🏻 Usage
Add the xcodeversion
snippet below to your powerline theme JSON file.
{
"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
file:
{
"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 file for rights and limitations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file powerline-xcodeversion-1.0.0.tar.gz
.
File metadata
- Download URL: powerline-xcodeversion-1.0.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e20e215cc71839de75ea91d730f37e4adcbe429d9a87aaf97abce60496d42e8 |
|
MD5 | 08a35f00b001e0f54bed7b876c027efd |
|
BLAKE2b-256 | 42f39785c6fcb962cea9e1f2f8010a40f2a1478048490563cfa6cc1cfcb07eac |
File details
Details for the file powerline_xcodeversion-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: powerline_xcodeversion-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ed41803cbf15764321be020df169f4a5a0987eaf131957f0b2d5eb33398e334 |
|
MD5 | 43ae61ec4f2c074138b025f97bc8d9cb |
|
BLAKE2b-256 | 7d53af90047e9ec3514ec0444a2f22a6589d7c340c0b7d78f67b52d7e808b016 |