mirror of
https://github.com/garabik/grc.git
synced 2024-11-15 14:48:26 +01:00
35 lines
549 B
Text
35 lines
549 B
Text
# Error
|
|
regexp=fdisk: cannot open ([^:]+).*$
|
|
colours=red, bold red
|
|
-
|
|
# Disk
|
|
regexp=^(Disk) (?:\/([^\/: ]+))+
|
|
colours=yellow,on_yellow black,bold yellow
|
|
-
|
|
# Boot?
|
|
regexp=\*\s\s\s
|
|
colours=on_red bold white
|
|
-
|
|
# Partitions
|
|
regexp=^(?:\/([^\/: ]+))+
|
|
colours=green,bold green
|
|
-
|
|
# Type
|
|
regexp=type: (.*)$
|
|
colours=unchanged,bold cyan
|
|
-
|
|
# ID
|
|
regexp=identifier: (.*)$
|
|
colours=unchanged, cyan
|
|
-
|
|
# Size 'K'
|
|
regexp=\s\d*[.,]?\d*\s?Ki?B?
|
|
colours=green
|
|
-
|
|
# Size 'M'
|
|
regexp=\s\d*[.,]?\d*\s?Mi?B?
|
|
colours=yellow
|
|
-
|
|
# Size 'G'
|
|
regexp=\s\d+[.,]?\d*\s?Gi?B?
|
|
colours=red
|