2023-02-10 22:54:33 +00:00
|
|
|
# SEE `man lemonbar`
|
|
|
|
bar:
|
|
|
|
|
|
|
|
config:
|
|
|
|
geometry: 'widthxheight+x+y' # bar geomtery
|
|
|
|
bottom: true # dock bar at bottom
|
|
|
|
force: true # force the bar to dock
|
|
|
|
font: 'fontname' # see man page
|
|
|
|
name: 'name' # set WM_NAME
|
|
|
|
line_thickness: 3 # under/overline thickness
|
|
|
|
bg_color: '#000' # default color of the bar
|
|
|
|
fg_color: '#FFF' # default color of text
|
|
|
|
offset: 0 # vertical offset of text in pixels. can be negative.
|
|
|
|
line_color: '#ff0000' # default underline color
|
|
|
|
|
2023-02-11 03:17:06 +00:00
|
|
|
modules: # bar modules
|
2023-02-10 22:54:33 +00:00
|
|
|
|
2023-02-11 03:17:06 +00:00
|
|
|
time: # module name can be anything you want
|
|
|
|
command: 'date' # command to be run
|
|
|
|
refresh: 1000 # how often to refresh in milliseconds
|
|
|
|
format:
|
|
|
|
bg_color: '#000' # color of the bar behind the text of this module
|
|
|
|
fg_color: '#FFF' # color of the text itself
|
|
|
|
align: left # left, right, or center.
|
|
|
|
font: 'fontname' # the name of the font for this specific module
|
|
|
|
line:
|
|
|
|
type: underline # underline or overline
|
|
|
|
color: '#000' # line color
|
|
|
|
button: # you may have multiple buttons with different activators.
|
|
|
|
activator: left # how to activate the button. clicks: left, right, middle. scroll wheel: scrup, scrdown
|
|
|
|
command: 'echo "hello" > ~/file.txt' # command to run when button is clicked
|
2023-02-10 22:54:33 +00:00
|
|
|
|
|
|
|
memory: # define multiple modules...
|
|
|
|
command: "free -h | awk '/Mem/ {print $3}'"
|
|
|
|
refresh: 10000
|
|
|
|
# etc...
|
|
|
|
|