From 83e73fee6d697286955c543a4e199d591111f2dd Mon Sep 17 00:00:00 2001 From: thanatos Date: Wed, 27 Mar 2024 03:11:41 +0000 Subject: [PATCH] Update toggle_constraints --- toggle_constraints.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/toggle_constraints.md b/toggle_constraints.md index 0a8cf6e..2670b38 100644 --- a/toggle_constraints.md +++ b/toggle_constraints.md @@ -1,7 +1,7 @@ -## Description +### Description Adds a function called togglepointerconstraints to turn pointer constraint enforcement on and off with a keybind. -## Usage +### Usage Add a binding for the togglepointerconstraints function in the keys[] array of config.h. The function does not take any argument. Pointer constraints default to enabled, and can be toggled on and off with the function from there. Example: @@ -9,5 +9,9 @@ Example: { MODKEY, XKB_KEY_c, togglepointerconstraints, {0}}, ``` -## Download -[Git](https://codeberg.org/dwl/dwl-patches/raw/branch/main/toggle_constraints/toggle_constraints) \ No newline at end of file +### Download +[Git branch](https://codeberg.org/thanatos/dwl/src/branch/toggle_constraints) +[2024-03-26](https://codeberg.org/dwl/dwl-patches/raw/branch/main/toggle_constraints/toggle_constraints) + +### Authors +[thanatos](https://codeberg.org/thanatos) \ No newline at end of file