mirror of
https://github.com/garabik/grc.git
synced 2024-11-10 21:26:52 +01:00
29 lines
606 B
Plaintext
29 lines
606 B
Plaintext
# Sensor name
|
|
regexp=([a-z\-0-9]+)
|
|
colours=underline yellow
|
|
======
|
|
# Data names
|
|
regexp=(.+:)\s+(.+)
|
|
colours=unchanged, bright_cyan, default
|
|
======
|
|
# Extra info
|
|
regexp=.+\s+(\(.+\))
|
|
colours=unchanged, bright_black
|
|
======
|
|
# Adapter name
|
|
regexp=Adapter:(\s.*)
|
|
colours=unchanged, yellow
|
|
======
|
|
# Low temperature (below 60)
|
|
regexp=.+:\s+(\+[2345][0-9]\.[0-9]°C)
|
|
colours=unchanged, green
|
|
======
|
|
# High temperature (above 60)
|
|
regexp=.+:\s+(\+[67][0-9]\.[0-9]°C)
|
|
colours=unchanged, bright_yellow
|
|
======
|
|
# Very high temperature (above 80)
|
|
regexp=.+:\s+(\+[89][0-9]\.[0-9]°C)
|
|
colours=unchanged, bright_red
|
|
======
|