Added stuff to README

This commit is contained in:
Yessiest 2021-11-14 14:56:28 +04:00
parent 4cacdd9bd7
commit 333859dbc4
2 changed files with 14 additions and 9 deletions

View File

@ -2,7 +2,7 @@ This folder is the root of awesomewm configuration.
The layout is as follows: The layout is as follows:
/core - original rc.lua, split into components for convenience. /core - original rc.lua, split into components for convenience.
/core/widgets - self-contained widgets from original awesomewm rc.lua. /core/widgets - self-contained widgets from original awesomewm rc.lua.
/modules - small self-contained plug-ins to be required in rc.lua. /modules - small self-contained plug-ins to be "required" in rc.lua.
/libs - libraries, for various purposes. /libs - libraries, for various purposes.
/widgets - custom widgets /widgets - custom widgets
/various-scripts - scripts for clearing up desktop files, installing pam, etc. /various-scripts - scripts for clearing up desktop files, installing pam, etc.

View File

@ -8,11 +8,16 @@ There are currently the following modules, in the order of loading:
6) rules.lua - Rules 6) rules.lua - Rules
7) signals.lua - Signals 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.
Notice that Error handling and Variable definitions come before beautiful Notice that Error handling and Variable definitions come before beautiful
initialization. That is normal. Those modules don't depend on any of the initialization. That is normal. Those modules don't depend on any of the
above, therefore they are loaded before anything else. above, therefore they are loaded before anything else.
Additionally, notice that Binds come before Wibar. That is not exactly how it Additionally, notice that Binds come before layout. That is not exactly how it
was in the default rc.lua, but it is important to load them in exactly that 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 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 table. If you load binds after the layout is loaded, the bindings are reset to