Debian Codegraph @

discusrc

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