Commit cccee151 authored by Seblu's avatar Seblu
Browse files

Improve doc and examples

parent b7e5ce58
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ Profile
A profile in a set of configuration options.
cc-cli support FreeDesktop BaseDirectory specifications, see
http://standards.freedesktop.org/basedir-spec/0.6/ to store his config files.
Profiles are stored in ~/.config/cc-cli/profile. This file format is ini where
Profiles are stored in ~/.config/cc-cli/profile. This file format is ini in which
every profile is a section.
cc-cli load at every start the cli profile. You can specify
a default profile in cli profile with option "profile".
+9 −5
Original line number Diff line number Diff line
# this is the default profile
[cli]
# Options in this section is loaded is each others section
[DEFAULT]
hsize = 1000
#debug = true

# This section is loaded at start
[cli]
profile = lab

[lab]
@@ -8,9 +12,9 @@ login = sluttrin
pass = toto
server = 192.168.0.162

[preprod]
login = seblu
pass = sex
[amillet]
login = sluttrin
pass = chiche
server = 192.168.0.41
debug = true

examples/tagdisplay

0 → 100644
+24 −0
Original line number Diff line number Diff line
[color]
a = lpurple
h = lred
pop = lyellow
mem* = lyellow
r = red
id = lblue
cpu = lyellow
con = cyan

[titlecolor]
h = red
id = cyan

[type]
uptime = second
con = second
disk* = si
sto* = si
mem* = bit

[option]
quotespace = 1