2021-11-14 10:28:13 +00:00
|
|
|
These are the core modules of this desktop.
|
|
|
|
There are currently the following modules, in the order of loading:
|
2021-11-14 10:56:28 +00:00
|
|
|
1) error.lua - Error handling
|
|
|
|
2) vars.lua - Variable definitions
|
|
|
|
3) style.lua - ``beautiful`` theme and style definitions
|
|
|
|
4) binds.lua - Binds
|
|
|
|
5) layout.lua - Wibar layout
|
|
|
|
6) rules.lua - Rules
|
|
|
|
7) signals.lua - Signals
|
|
|
|
|
|
|
|
Some of the modules were further split into distinct components:
|
|
|
|
1) client.lua - Additional client hook to be run when a client is created.
|
|
|
|
2) titlebar.lua - Titlebar configuration, also run when a client is created.
|
|
|
|
3) widgets/* - Default widgets and their parameters.
|
2021-11-14 10:28:13 +00:00
|
|
|
|
|
|
|
Notice that Error handling and Variable definitions come before beautiful
|
|
|
|
initialization. That is normal. Those modules don't depend on any of the
|
|
|
|
above, therefore they are loaded before anything else.
|
|
|
|
|
2021-11-14 10:56:28 +00:00
|
|
|
Additionally, notice that Binds come before layout. That is not exactly how it
|
2021-11-14 10:28:13 +00:00
|
|
|
was in the default rc.lua, but it is important to load them in exactly that
|
|
|
|
order. Widgets, which are called from layout.lua, override the global bindings
|
|
|
|
table. If you load binds after the layout is loaded, the bindings are reset to
|
|
|
|
defaults.
|
|
|
|
|
|
|
|
Everything else is kept in exactly the same order as it was in the default
|
|
|
|
rc.lua
|
|
|
|
|
|
|
|
Additionally, it should be noted that all widgets in this config are entirely
|
|
|
|
independent. Simply not loading them will not load any keybindings or break
|
|
|
|
the config. Therefore, if you want to change any keybindings for the widgets,
|
|
|
|
you would want to search for them in their respective modules.
|