2
0
mirror of https://github.com/garabik/grc.git synced 2024-10-28 17:41:01 +01:00
bash-color-grc/colourfiles/conf.uptime
Radovan Garabík c71b244b80
Merge pull request #121 from richarson/richarson-conf.uptime
conf.uptime: Support decimal comma
2019-07-24 08:28:15 +02:00

17 lines
349 B
Plaintext

# Regular Up
regexp=\sup(?: (\d+) days?,)? +(\d+ min|\d+:\d+)(?=,)
colours=green,bold green, bold green
-
# users
regexp=\b(\d+) users?
colours=yellow,bold yellow
-
# load average
regexp=load average: (\d+[\.,]\d+),\s(\d+[\.,]\d+),\s(\d+[\.,]\d+)
colours=default,bright_cyan,cyan,dark cyan
-
# W Command section
# Title
regexp=^USER.*$
colours=bold