Debian Codegraph @

debian/etc

raw
1 ## Discus configuration file.
2 ##
3 ## To make personal modifications, copy this file to your home directory
4 ## with the name .discusrc
5
6 ## An option is enabled if its value is 1, disabled if 0. Multiple entries,
7 ## where applicable, must be enclosed in square brackets and separated with
8 ## commas. String values must be quoted.
9
10 ## Labels to display next to numbers. Thanks to Frank Elsner.
11 opts["akabytes"] = ["KB", "meg", "gig", "TB"]
12 opts["color"] = 1
13 opts["divisor"] = 1
14 opts["graph"] = 1
15 opts["graph_char"] = "*"
16 opts["graph_fill"] = "-"
17
18 ## Example mtab entry that uses a shell command (always use a ! as
19 ## first character) rather than a file:
20 ## opts["mtab"] = "!/bin/mount |awk '{print $1, $3}'"
21 opts["mtab"] = "/etc/mtab"
22
23 ## Number of decimal places to display, same as -p
24 opts["places"] = 1
25
26 ## Filesystems to ignore.
27 opts["skip_list"] = ["/dev/pts", "/proc"]
28
29 ## Use smart formatting of numbers.
30 opts["smart"] = 1
31
32 ## Location of stat program in lieu of Python's statvfs module.
33 opts["stat_prog"] = "stat -ft"
34
35 ## These colors should work on VT100-type displays. Change them if you use
36 ## something else.
37
38 black = "\033[30m"
39 red = "\033[31m"
40 green = "\033[32m"
41 yellow = "\033[33m"
42 blue = "\033[34m"
43 magenta = "\033[35m"
44 cyan = "\033[36m"
45 white = "\033[37m"
46
47 on_black = "\033[40m"
48 on_red = "\033[41m"
49 on_green = "\033[42m"
50 on_yellow = "\033[43m"
51 on_blue = "\033[44m"
52 on_magenta = "\033[45m"
53 on_cyan = "\033[46m"
54 on_white = "\033[47m"
55
56 normal = "\033[0m"
57 bold = "\033[1m"
58 underline = "\033[4m"
59 blink = "\033[5m"
60 reverse = "\033[7m"
61 dim = "\033[8m"
62
63 opts["color_header"] = blue
64 opts["color_normal"] = normal
65 opts["color_safe"] = normal ## 0%- 70% full
66 opts["color_warning"] = bold + yellow ## 70%- 85% full
67 opts["color_danger"] = bold + red ## 85%-100% full
68
69 ## EOF