index.md (616B)
1 conditional 2 =========== 3 4 Description 5 ----------- 6 Adds the `conditional` function to modify the behavior of keybindings based on a 7 condition implemented as a function. 8 9 `conditional` takes three function pointers: 10 `condition`, `func_true`, and `func_false`, along with arguments for the last two. 11 12 - `func_true` is invoked when `condition` returns `true`. 13 - Otherwise, `func_false` is invoked. 14 15 `NULL` can be passed as `func_true` or `func_false`, in which case it acts as a no-op. 16 17 Download 18 -------- 19 * [dwm-conditional-6.8.diff](dwm-conditional-6.8.diff) 20 21 Author 22 ------- 23 * Noah Osterholz - <osterholznoah@gmail.com>