1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
# Configuration file for pydf
#
#
# colours can be:
# 'none' - no change from previous colour
# 'default' - default system colour
#
# special attributes:
# 'bold'
# 'underline'
# 'blink'
# 'reverse'
# 'concealed'
#
# foreground:
# 'black'
# 'red'
# 'green'
# 'yellow'
# 'blue'
# 'magenta'
# 'cyan'
# 'white'
#
# background:
# 'on_black'
# 'on_red'
# 'on_green'
# 'on_yellow'
# 'on_blue'
# 'on_magenta'
# 'on_cyan'
# 'on_white'
#
# beep:
# 'beep'
#
#
# or any combination of these, separated with commas
# normal text colour - currently not used
normal_colour = 'default'
# colour of the header
header_colour = 'yellow'
# colour for local filesystems
local_fs_colour = 'default'
# colour for remote filesystems (such as nfs, samba, afs....)
remote_fs_colour = 'green'
# colour for special filesystems (such as proc, pty)
special_fs_colour = 'blue'
# colour for filesystems with usage > FILL_THRESH
filled_fs_colour = 'red'
# colour for filesystems with usage > FULL_THRESH
full_fs_colour = 'on_red', 'green', 'blink'
# default format for displaying sizes "-h" or "-H" or "-m" or "-k" or "--blocks"
sizeformat = "-h"
# filesystem filled up over this limit (in percents) is displayed
# with filled_fs_colour (to show it is dangerously filled up)
FILL_THRESH = 85.0
# filesystem filled up over this limit is displayed with
# full_fs_colour (to show it is FULL)
FULL_THRESH = 99.0
# Format used to display information: (keyword, size, justify).
# keyword is one of 'fs' 'fstype' 'size' 'used' 'avail' 'perc' 'bar' 'on'.
# size is column width of the entry, a space is automatically added
# between columns.
# justify is either "l" for left justify, "r" for right justify or "c" for
# center.
# You can use any order and any combination of keywords, but
# be careful not to exceed the size of your screen
format = [
('fs', 15, "l"), ('size', 9, "r"),
('used', 9, "r"), ('avail', 9, "r"), ('perc', 5, "r"),
('bar', 8, "l"), ('on', 16, "l")
]
# character to display filesystem size bar
barchar = '#'
# file to get mount information from
# on normal linux system, only /etc/mtab or /proc/mounts make sense
mountfile = "/etc/mtab"
# needed only when your python interpreter does not support os.statvfs
statfs_command = "/usr/local/bin/statfs -t"
|