2024-09-07 12:28:41 -04:00
|
|
|
{
|
|
|
|
"name": "tablet",
|
|
|
|
"segments": {
|
|
|
|
"left": [
|
|
|
|
{
|
|
|
|
"name": "iip",
|
|
|
|
"function": "powerline.segments.common.net.internal_ip",
|
|
|
|
"args": {
|
|
|
|
"interface": "eth8"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "hostname",
|
|
|
|
"function": "powerline.segments.common.net.hostname"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "cwd",
|
|
|
|
"function": "powerline.segments.shell.cwd",
|
|
|
|
"args": {
|
|
|
|
"dir_limit_depth": 1,
|
|
|
|
"shorten_home": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"right": [
|
|
|
|
{
|
|
|
|
"name": "date-time",
|
|
|
|
"type": "segment_list",
|
|
|
|
"function": "powerline.segments.common.time.date",
|
2024-09-07 14:17:10 -04:00
|
|
|
"args": {},
|
2024-09-07 12:28:41 -04:00
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"type": "segment_list",
|
|
|
|
"highlight_group": "cust:weekday",
|
2024-09-07 14:17:10 -04:00
|
|
|
"function": "powerline.segments.common.time.date",
|
|
|
|
"args": {},
|
2024-09-07 12:28:41 -04:00
|
|
|
"segments": [
|
|
|
|
{
|
|
|
|
"name": "wday",
|
2024-09-07 14:17:10 -04:00
|
|
|
"function": "powerline.segments.common.time.date",
|
2024-09-07 12:28:41 -04:00
|
|
|
"args": {
|
|
|
|
"format": "%a",
|
|
|
|
"istime": false
|
2024-09-07 14:17:10 -04:00
|
|
|
}
|
2024-09-07 12:28:41 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "time",
|
|
|
|
"args": {
|
|
|
|
"format": "%I:%M:%S",
|
|
|
|
"istime": true
|
|
|
|
},
|
|
|
|
"function": "powerline.segments.common.time.date"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "date",
|
|
|
|
"args": {
|
|
|
|
"format": "%Y-%m-%d",
|
|
|
|
"istime": false
|
|
|
|
},
|
|
|
|
"function": "powerline.segments.common.time.date"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"segment_data": {
|
|
|
|
"uptime": {
|
|
|
|
"before": "⇑ "
|
|
|
|
},
|
|
|
|
"external_ip": {
|
|
|
|
"before": "ⓦ "
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"before": " ",
|
|
|
|
"draw_soft_divider": true
|
|
|
|
},
|
|
|
|
"email_imap_alert": {
|
|
|
|
"before": "✉ ",
|
|
|
|
"args": {
|
|
|
|
"username": "",
|
|
|
|
"password": ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|