/powerline-date

Simple date plugin for powerline to customize with TZ support

Primary LanguagePython

Powerline Date Segment

This just has the minor feature of allowing time zones.

Powerline date segment is a drop in replacement for the regular date segment.

Usage:

{
    "function": "powerline_date.date",
    "name": "sydney_time",
    "args": {
        "format": "%H:%M %Z",
        "istime": true,
        "timezone": "Australia/Sydney"
    }
},
{
    "function": "powerline_date.date",
    "name": "utc_time",
    "args": {
        "format": "%H:%M %Z",
        "istime": true,
        "timezone": "UTC"
    }
},
{
    "function": "powerline_date.date",
    "name": "edt_time",
    "args": {
        "format": "%H:%M %Z",
        "istime": true,
        "timezone": "America/New_York"
    }
},