sites

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

commit fdec3c8fddfd74fbc2e498bc9d96eecc86c697d3
parent f0f2f3d4e8a5b8549aaf4f8e29784c6b619d87e0
Author: explosion-mental <explosion0mental@gmail.com>
Date:   Tue, 12 Apr 2022 11:58:26 -0500

[dwm][patch] Change github to codeberg and some minor wording adjustments

Diffstat:
Mdwm.suckless.org/patches/integrated-status-text/index.md | 31+++++++++++++++----------------
Mdwm.suckless.org/patches/shift-tools/index.md | 2+-
Mdwm.suckless.org/patches/tag-previews/index.md | 2+-
3 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/dwm.suckless.org/patches/integrated-status-text/index.md b/dwm.suckless.org/patches/integrated-status-text/index.md @@ -1,5 +1,5 @@ integrated status text -============= +====================== Description ----------- @@ -7,28 +7,27 @@ Allows dwm to handle the text by itself This is a dwmblocks integration into dwm itself. You can update the blocks only with signals of with mouseclicks. The 'interval' value does nothing and is meant to be there to 're-use' on future patches. You can checkout my build with more features like 'async' -updates https://github.com/explosion-mental/Dwm, which is were I'm extracting -this patch. +updates +[https://codeberg.org/explosion-mental/Dwm](https://codeberg.org/explosion-mental/Dwm), +which is were I'm extracting this patch, if you want a much better experience. What you need to know: -- dwm sets a enviromental variable with the PID of itself to be more - 'friendly'. With this you can do `kill -35 $STATUSBAR`, which updates +- This patch makes dwm sets a enviromental variable with the PID of itself to + be more 'friendly'. With this you can do `kill -35 $STATUSBAR`, which updates block with signal 1 (34 + signal of the block) -- other way to update a block is inside dwm itself, with the - `updateblock` function. It accepts an unsigned int (non negative) - number which value indicates the signal of the block you want to - update. -- mouse clicks are handled with `sendstatusbar` (a mouse function only!) - which accepts the value that you want to pass to the block command - as a 'variable' called `BLOCK_BUTTON`, which should be handled in the - script (block command) -- since this uses real time signals to handle the updates, shouldn't - work in openbsd, but I could be wrong. +- Other way to update a block is inside dwm itself, with the `updateblock` + function. It accepts an unsigned int (non negative) number which value + indicates the signal of the block you want to update. +- Mouse clicks are handled with `sendstatusbar` (a mouse function only!) which + accepts the value that you want to pass to the block command as a 'variable' + called `BLOCK_BUTTON`, which should be handled in the script (block command) +- Since this uses real time signals to handle the updates, shouldn't work in + openbsd, but I could be wrong. Download -------- * [dwm-integrated-status-text-6.3.diff](dwm-integrated-status-text-6.3.diff) -* [github mirror](https://github.com/explosion-mental/Dwm/blob/main/Patches/dwm-integrated-status-text-6.3.diff) +* [codeberg mirror](https://codeberg.org/explosion-mental/Dwm/src/branch/main/Patches/dwm-integrated-status-text-6.3.diff) Authors ------- diff --git a/dwm.suckless.org/patches/shift-tools/index.md b/dwm.suckless.org/patches/shift-tools/index.md @@ -35,7 +35,7 @@ or 9 to 1. Also remember that the default argument is 1/-1 and you can change i Download -------- * [dwm-shif-tools-6.2.diff](dwm-shif-tools-6.2.diff) -* [github mirror](https://github.com/explosion-mental/Dwm/blob/main/Patches/dwm-shif-tools-6.2.diff) +* [codeberg mirror](https://codeberg.org/explosion-mental/Dwm/src/branch/main/Patches/dwm-shif-tools-6.2.diff) * [shift-tools.c](shift-tools.c) * [shift-tools-scratchpads.c](shift-tools-scratchpads.c) diff --git a/dwm.suckless.org/patches/tag-previews/index.md b/dwm.suckless.org/patches/tag-previews/index.md @@ -17,7 +17,7 @@ siduck76 [chadwm](https://github.com/siduck76/chadwm) Download -------- * [dwm-tag-preview-6.2.diff](dwm-tag-preview-6.2.diff) -* [github mirror](https://github.com/explosion-mental/Dwm/blob/main/Patches/dwm-tag-preview-6.2.diff) +* [codeberg mirror](https://codeberg.org/explosion-mental/Dwm/src/branch/main/Patches/dwm-tag-preview-6.2.diff) Authors -------