updated example config accordingly
This commit is contained in:
parent
841218a6b7
commit
005fd42823
1 changed files with 66 additions and 63 deletions
|
@ -2,8 +2,8 @@
|
||||||
# where indicated.
|
# where indicated.
|
||||||
bar:
|
bar:
|
||||||
# Global configuration options. These are mostly flags passed to lemonbar at
|
# Global configuration options. These are mostly flags passed to lemonbar at
|
||||||
# runtime.
|
# runtime. These are all optional.
|
||||||
config:
|
#config:
|
||||||
# Define a custom size of the bar. By default, this is different for every
|
# Define a custom size of the bar. By default, this is different for every
|
||||||
# screen, so the format is shown below.
|
# screen, so the format is shown below.
|
||||||
#geometry: "widthxheight+x+y"
|
#geometry: "widthxheight+x+y"
|
||||||
|
@ -52,64 +52,67 @@ bar:
|
||||||
# Text to be placed on both ends of the bar, before and after all text.
|
# Text to be placed on both ends of the bar, before and after all text.
|
||||||
#margin: ""
|
#margin: ""
|
||||||
|
|
||||||
# Here is where you can define a list your individual modules. You can define
|
# Modules are organized by monitor number, starting at 0 and increasing to 9.
|
||||||
# as many modules as you want. Some fields are required; these will be
|
monitor:
|
||||||
# indicated. If a field doesn't say its required, you can safely omit it in
|
0:
|
||||||
# your own configuration. A "bare minimum" configuration is shown below for
|
# Within each monitor is where you can define a your individual modules.
|
||||||
# your convience.
|
# You can define as many modules as you want. Some fields are required;
|
||||||
modules:
|
# these will be indicated. If a field doesn't say its required, you can
|
||||||
# This is an example module. You can name it whatever you want, it doesn't
|
# safely omit it in your own configuration. A "bare minimum" configuration
|
||||||
# matter. Notice the `-` before the name. Each module must be a list item!
|
# is shown below for your convience.
|
||||||
# THIS IS A REQUIRED FIELD.
|
modules:
|
||||||
#- name: "time"
|
# The top field is the name of the module. This can be whatever you
|
||||||
# # This command is run by `sh -c`, and whatever is sent to stdout is the
|
# want, it doesn't matter. Because this is an example module, we will
|
||||||
# # text that will be displayed for this module. `date` here is used as an
|
# call it 'example.'
|
||||||
# # example. THIS IS A REQUIRED FIELD.
|
#example:
|
||||||
# command: "date"
|
# # This command is run by `sh -c`, and whatever is sent to stdout is the
|
||||||
# # How often (in milliseconds) to re-run the command and display the
|
# # text that will be displayed for this module. `date` here is used as an
|
||||||
# # updated text. If this value is 0, then the module will not be
|
# # example. THIS IS A REQUIRED FIELD.
|
||||||
# # refreshed. THIS IS A REQUIRED FIELD.
|
# command: "date"
|
||||||
# refresh: 1000
|
# # How often (in milliseconds) to re-run the command and display the
|
||||||
# # Prefix to be printed before the text of the command.
|
# # updated text. If this value is 0, then the module will not be
|
||||||
# prefix: "DATE: "
|
# # refreshed. THIS IS A REQUIRED FIELD.
|
||||||
# # Linux real-time signal that, when received, will refresh the module
|
# refresh: 1000
|
||||||
# # instantly. See the README for more info.
|
# # Prefix to be printed before the text of the command.
|
||||||
# signal: 0
|
# prefix: "DATE: "
|
||||||
# # Formatting options. These will only affect the text and padding of this
|
# # Linux real-time signal that, when received, will refresh the module
|
||||||
# # module.
|
# # instantly. See the README for more info.
|
||||||
# format:
|
# signal: 0
|
||||||
# # Where the text should be placed on the bar. `left`, `right`, or
|
# # Formatting options. These will only affect the text and padding of this
|
||||||
# # `center`. THIS IS A REQUIRED FIELD.
|
# # module.
|
||||||
# align: left
|
# format:
|
||||||
# # Background color of the bar.
|
# # Where the text should be placed on the bar. `left`, `right`, or
|
||||||
# bg_color: "#000"
|
# # `center`. THIS IS A REQUIRED FIELD.
|
||||||
# # Text color
|
# align: left
|
||||||
# fg_color: "#FFF"
|
# # Background color of the bar.
|
||||||
# # INDEX of the font for this module to be displayed in (see above).
|
# bg_color: "#000"
|
||||||
# font: 1
|
# # Text color
|
||||||
# # Horizontal offset of the module text in pixels (can be negative).
|
# fg_color: "#FFF"
|
||||||
# offset: 0
|
# # INDEX of the font for this module to be displayed in (see above).
|
||||||
# # Set an underline or overline
|
# font: 1
|
||||||
# line:
|
# # Horizontal offset of the module text in pixels (can be negative).
|
||||||
# # Self-explanatory. `underline` or `overline`. IF you set a line, then
|
# offset: 0
|
||||||
# # this is a required field.
|
# # Set an underline or overline
|
||||||
# type: underline
|
# line:
|
||||||
# # Set a custom color for the line.
|
# # Self-explanatory. `underline` or `overline`. IF you set a line, then
|
||||||
# color: "#000"
|
# # this is a required field.
|
||||||
# # Make this module act like a button. Both of these fields are required
|
# type: underline
|
||||||
# # if you are making a button. You may also define multiple buttons with
|
# # Set a custom color for the line.
|
||||||
# # different activators for a single module.
|
# color: "#000"
|
||||||
# button:
|
# # Make this module act like a button. Both of these fields are required
|
||||||
# # What mouse click you have to make to activate the button. Can be
|
# # if you are making a button. You may also define multiple buttons with
|
||||||
# # `left`, `center`, or `right`. You can also set it to activate when
|
# # different activators for a single module.
|
||||||
# # you scroll up or down with `scrup` and `scrdown.`
|
# button:
|
||||||
# activator: left
|
# # What mouse click you have to make to activate the button. Can be
|
||||||
# # Command to be executed upon activation. Will be run with `sh -c`.
|
# # `left`, `center`, or `right`. You can also set it to activate when
|
||||||
# command: "echo 'hello' > ~/file.txt"
|
# # you scroll up or down with `scrup` and `scrdown.`
|
||||||
|
# activator: left
|
||||||
|
# # Command to be executed upon activation. Will be run with `sh -c`.
|
||||||
|
# command: "echo 'hello' > ~/file.txt"
|
||||||
|
|
||||||
# Here is a simpler example to more clearly show only the required fields.
|
# Here is a simpler example to more clearly show only the required fields.
|
||||||
- name: "bare_minimum"
|
bare_minimum:
|
||||||
command: "whoami"
|
command: "whoami"
|
||||||
refresh: 1000
|
refresh: 1000
|
||||||
format:
|
format:
|
||||||
align: right
|
align: right
|
||||||
|
|
Loading…
Reference in a new issue