Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
I3csstatus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jiří Kalvoda
I3csstatus
Commits
25bd8488
Commit
25bd8488
authored
2 years ago
by
Jiří Kalvoda
Browse files
Options
Downloads
Patches
Plain Diff
Add ModuleWrappers supprot and WrapperColor and WrapperDefaultColor: Documentation
parent
5c0f0f44
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+10
-0
10 additions, 0 deletions
README.md
sample.conf
+15
-0
15 additions, 0 deletions
sample.conf
with
25 additions
and
0 deletions
README.md
+
10
−
0
View file @
25bd8488
...
...
@@ -108,6 +108,16 @@ then it must have `[ParserName(string)]` attribute.
Parser can be configured via
`Init`
function. In such case, it must return part of bar on each call of
`Parse`
method.
Module wrappers
---------------
In the configuration file, user can add one or more module wrappers as options.
By convention these options start with
`_`
.
Module wrapper is able change behavior of the Module as it has access to any
communication between Module and Status Bar (
`ModuleParent`
interface).
Wrappers are created by
`StatusBar.addStandardModuleWrappers`
.
Output formats
--------------
...
...
This diff is collapsed.
Click to expand it.
sample.conf
+
15
−
0
View file @
25bd8488
...
...
@@ -290,6 +290,21 @@ timeout = 10
# <time> default 10
# Timeout of each HTTP request.
# Options for all modules
# =======================
[
constant
]
text
=
Hi
# Begin of some module for showing options
_
color
=
blue
# <color>
# Overwrite color of this module output
_
default_color
=
red
# <color>
# Set color if module don't set any
# Parsers:
# ========
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment