Skip to main content

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.

PyPI version

🤳🏻 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powerline-xcodeversion-1.0.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

powerline_xcodeversion-1.0.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page