diff --git a/README b/README index 1ce3648c3ffba0df4b0dd21ae7f4831afa5fffee..c177bcd6842256c64b64e9a0d87148d88f29808d 100644 --- a/README +++ b/README @@ -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". diff --git a/examples/profile b/examples/profile index 3603cfabb70eb37c221c4818535e6463307cf431..7e13fbe3c065a27b25b61d6a994da68397ec2ef5 100644 --- a/examples/profile +++ b/examples/profile @@ -1,6 +1,10 @@ -# 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 diff --git a/examples/tagdisplay b/examples/tagdisplay new file mode 100644 index 0000000000000000000000000000000000000000..9aa42d2be0f68bdffc0075e9b3ec6d7c18bd9596 --- /dev/null +++ b/examples/tagdisplay @@ -0,0 +1,24 @@ +[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 +