Commit Graph

6 Commits

Author SHA1 Message Date
Stardust-kyun 57786e08f4
Readability edits for docs (#197) 2023-01-28 15:27:21 +01:00
eylles 7542251b72
Improved swallowing (#140)
* 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... ¯\_(ツ)_/¯
2022-01-04 11:14:12 +01:00
Bran 19fa3a2d10
Update docs (#120)
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>
2021-10-13 17:26:04 +02:00
Gokul Swami e1a5657b42 i messed up my prev commit 2021-02-16 22:01:29 -08:00
Gokul Swami 0a5c842167 change loc for images for docs 2021-02-16 21:59:45 -08:00
Gokul Swami 56b72f89f9 Finished docs! 2021-02-16 02:47:43 -08:00