2
0
Fork 0
mirror of https://github.com/garabik/grc.git synced 2024-11-15 14:48:26 +01:00
bash-color-grc/colourfiles/conf.lsblk

60 lines
989 B
Text
Raw Normal View History

# Main HD
regexp=^[a-z]+\d?\s
colours=bold white
======
# Partition
2016-06-19 01:18:18 +02:00
regexp=([├└─│]+|[\|\`\-]+)(\S+)
colours=bright_green
======
# Partition - LVM
2016-06-19 01:18:18 +02:00
regexp=\s+([├└─│]+|[\|\`\-]+)(\S+)
colours=default,default,bright_cyan
======
2016-06-19 01:18:18 +02:00
# Type crypt
regexp=(?<=\s)crypt\b
2016-06-19 01:18:18 +02:00
colours=on_magenta white
======
# Type disk
regexp=(?<=\s)disk\b
colours=magenta
======
# Type lvm
regexp=(?<=\s)lvm\b
colours=bold cyan
======
# Type part
regexp=(?<=\s)part\b
colours=cyan
======
# Type loop
regexp=(?<=\s)loop\b
colours=bright_red
======
# Size 'K'
regexp=\s\d*[.,]?\dKi?\s
colours=green
======
# Size 'M'
regexp=\s\d*[.,]?\dMi?\s
colours=yellow
======
# Size 'G'
regexp=\s\d*[.,]?\dGi?\s
colours=red
======
# Size 'T'
regexp=\s\d*[.,]?\dTi?\s
colours=bold red
======
# Mount Path
regexp=(?<=\s)(\/[^\/ ]*)+$
colours=yellow,bold yellow
2016-06-19 01:18:18 +02:00
======
# Mount [SWAP]
regexp=\s\[(SWAP)\]
colours=default,bright_magenta
======
# UUID
regexp=(?<=\s)\b([0-9a-fA-F-]{4,}|[\w-]{38})\b
colours=default,dark cyan