* Make swallowing more robust
Changed the flags for the pstree command so it is a single line with all
ancestors.
Removed usage of sed, grep and tr so the iopopen call should be faster.
Find and match of parent pid in the ancestors string is done in lua so
should be faster.
* Improved swallow filter
Now you cna filter window swallowing with 2 tables, one for clients that
cannot be swallowed (dont_swallow_classname_list) and one for clients
that cannot swallow their parents (cant_swallow_classname_list).
* remove occurences of res var
* renamed functions and theme vars more descriptive
* updated module documentation
* check functions combined, is_in_table 1 return
* add old theme vars for compatibility
* short swallow logic and robust filter assignment
* ignore splash and dialog parents
this prevents krita and similar missbehaving programs from swallowing their
splash window.
* consistent docs formatting
* convert module to use an async function
* removed undefined error() function call
this was probably an error handling/logging on the code i used as template for
the async function and it's callback.
* deal with corner case: parent exits before client
if the parent is destroyed "on background" then awesome will show a warning.
* added meself to authors
i don't see my additions as substantial enough to justify this but... ¯\_(ツ)_/¯
Formatted markdown and lua snippets, removed trailing spaces and made example keybinds compilant with default awesome config
Co-authored-by: Nooo37 <senpai.ackabar@gmail.com>