sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 541354d1f85859ae3677f810152f6dd9dd18be62
parent a189eea0f3f057bb726f3f88bed5e7d2aec700ab
Author: Hubert Głuchowski <fishhh@fishhh.dev>
Date:   Wed, 30 Apr 2025 01:09:15 +0200

[dwm][patches][betterswallow] Fix index.md

`smu -n < index.md` locally rendered the previous version as intended but
the website seems to do things differently, this should work though.

Diffstat:
Mdwm.suckless.org/patches/betterswallow/index.md | 15++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/dwm.suckless.org/patches/betterswallow/index.md b/dwm.suckless.org/patches/betterswallow/index.md @@ -30,21 +30,18 @@ ensure they are copied in the `copyclientpos` function. #### Usage -To have any graphical program swallowed, run it as: -```bash -better-swallow <CMD> -``` +To have any graphical program swallowed, run it as `better-swallow <CMD>`. This will cause any windows spawned by the command to replace the parent window. -Since `betterswallow` is quite long, I recommend creating an alias, such as `bs`. +Since `better-swallow` is quite long, I recommend creating an alias, such as `bs`. #### Limitations - Due to reliance on the `Xres` extension and PIDs, this will fail if the X server -is not running on the same machine as `betterswallow`, and it may add nonsensical -entries to the "swallow queue". + is not running on the same machine as `betterswallow`, and it may add nonsensical + entries to the "swallow queue". - If a swallowed process opens a window deeper in the process tree, it will not -be swallowed. This may be fixed in the future by traversing the entire process -chain rather than just one step up. Open an issue if you encounter this. + be swallowed. This may be fixed in the future by traversing the entire process + chain rather than just one step up. Open an issue if you encounter this. Download --------