Use “time” for time segment name

This commit is contained in:
ZyX 2014-08-29 22:57:04 +04:00
parent 41476544ca
commit 4f5a606ce2
7 changed files with 24 additions and 19 deletions

View File

@ -25,6 +25,10 @@
"contents": "LN " "contents": "LN "
}, },
"time": {
"before": ""
},
"powerline.segments.common.network_load": { "powerline.segments.common.network_load": {
"args": { "args": {
"recv_format": "DL {value:>8}", "recv_format": "DL {value:>8}",
@ -50,9 +54,6 @@
"powerline.segments.common.uptime": { "powerline.segments.common.uptime": {
"before": "UP " "before": "UP "
}, },
"powerline.segments.common.date": {
"before": ""
},
"powerline.segments.common.email_imap_alert": { "powerline.segments.common.email_imap_alert": {
"before": "MAIL " "before": "MAIL "
}, },

View File

@ -24,6 +24,10 @@
"contents": " " "contents": " "
}, },
"time": {
"before": "⌚ "
},
"powerline.segments.common.network_load": { "powerline.segments.common.network_load": {
"args": { "args": {
"recv_format": "⬇ {value:>8}", "recv_format": "⬇ {value:>8}",
@ -49,9 +53,6 @@
"powerline.segments.common.uptime": { "powerline.segments.common.uptime": {
"before": "⇑ " "before": "⇑ "
}, },
"powerline.segments.common.date": {
"before": "⌚ "
},
"powerline.segments.common.email_imap_alert": { "powerline.segments.common.email_imap_alert": {
"before": "✉ " "before": "✉ "
}, },

View File

@ -11,11 +11,11 @@
"priority": 50 "priority": 50
}, },
{ {
"function": "date", "function": "date"
"before": ""
}, },
{ {
"function": "date", "function": "date",
"name": "time",
"args": { "args": {
"format": "%H:%M", "format": "%H:%M",
"istime": true "istime": true

View File

@ -24,6 +24,10 @@
"contents": "␤ " "contents": "␤ "
}, },
"time": {
"before": "⌚ "
},
"powerline.segments.common.network_load": { "powerline.segments.common.network_load": {
"args": { "args": {
"recv_format": "⬇ {value:>8}", "recv_format": "⬇ {value:>8}",
@ -49,9 +53,6 @@
"powerline.segments.common.uptime": { "powerline.segments.common.uptime": {
"before": "⇑ " "before": "⇑ "
}, },
"powerline.segments.common.date": {
"before": "⌚ "
},
"powerline.segments.common.email_imap_alert": { "powerline.segments.common.email_imap_alert": {
"before": "✉ " "before": "✉ "
}, },

View File

@ -24,6 +24,10 @@
"contents": "␤ " "contents": "␤ "
}, },
"time": {
"before": ""
},
"powerline.segments.common.network_load": { "powerline.segments.common.network_load": {
"args": { "args": {
"recv_format": "⇓ {value:>8}", "recv_format": "⇓ {value:>8}",
@ -49,9 +53,6 @@
"powerline.segments.common.uptime": { "powerline.segments.common.uptime": {
"before": "↑ " "before": "↑ "
}, },
"powerline.segments.common.date": {
"before": ""
},
"powerline.segments.common.email_imap_alert": { "powerline.segments.common.email_imap_alert": {
"before": "MAIL " "before": "MAIL "
}, },

View File

@ -25,6 +25,10 @@
"contents": "␤" "contents": "␤"
}, },
"time": {
"before": ""
},
"powerline.segments.common.network_load": { "powerline.segments.common.network_load": {
"args": { "args": {
"recv_format": "⇓{value:>8}", "recv_format": "⇓{value:>8}",
@ -50,9 +54,6 @@
"powerline.segments.common.uptime": { "powerline.segments.common.uptime": {
"before": "↑" "before": "↑"
}, },
"powerline.segments.common.date": {
"before": ""
},
"powerline.segments.common.email_imap_alert": { "powerline.segments.common.email_imap_alert": {
"before": "M " "before": "M "
}, },

View File

@ -7,11 +7,11 @@
"priority": 50 "priority": 50
}, },
{ {
"function": "date", "function": "date"
"before": ""
}, },
{ {
"function": "date", "function": "date",
"name": "time",
"args": { "args": {
"format": "%H:%M", "format": "%H:%M",
"istime": true "istime": true