updated example config accordingly

This commit is contained in:
Noah Swerhun 2023-04-03 16:04:35 -05:00
parent 841218a6b7
commit 005fd42823

View file

@ -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,16 +52,19 @@ 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;
# these will be indicated. If a field doesn't say its required, you can
# safely omit it in your own configuration. A "bare minimum" configuration
# is shown below for your convience.
modules: modules:
# This is an example module. You can name it whatever you want, it doesn't # The top field is the name of the module. This can be whatever you
# matter. Notice the `-` before the name. Each module must be a list item! # want, it doesn't matter. Because this is an example module, we will
# THIS IS A REQUIRED FIELD. # call it 'example.'
#- name: "time" #example:
# # This command is run by `sh -c`, and whatever is sent to stdout is the # # This command is run by `sh -c`, and whatever is sent to stdout is the
# # text that will be displayed for this module. `date` here is used as an # # text that will be displayed for this module. `date` here is used as an
# # example. THIS IS A REQUIRED FIELD. # # example. THIS IS A REQUIRED FIELD.
@ -108,7 +111,7 @@ bar:
# command: "echo 'hello' > ~/file.txt" # 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: