[modules] Add zpool module
This commit is contained in:
parent
8a0fae529a
commit
5766fedc46
5 changed files with 188 additions and 2 deletions
|
@ -89,5 +89,12 @@
|
|||
},
|
||||
"uptime": {
|
||||
"prefix": "uptime"
|
||||
},
|
||||
"zpool": {
|
||||
"poolread": {"prefix": "pool read "},
|
||||
"poolwrite": {"prefix": "pool write "},
|
||||
"ONLINE": {"prefix": "pool"},
|
||||
"FAULTED": {"prefix": "pool (!)"},
|
||||
"DEGRADED": {"prefix": "pool (!)"}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,13 @@
|
|||
"items": {"prefix": "" },
|
||||
"uptime": {"prefix": "" }
|
||||
},
|
||||
|
||||
"zpool": {
|
||||
"poolread": {"prefix": "→ "},
|
||||
"poolwrite": {"prefix": "← "},
|
||||
"ONLINE": {"prefix": ""},
|
||||
"FAULTED": {"prefix": "!"},
|
||||
"DEGRADED": {"prefix": "!"}
|
||||
},
|
||||
"cmus": {
|
||||
"playing": { "prefix": "" },
|
||||
"paused": { "prefix": "" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue