index.md (588B)
1 ifroot 2 ====== 3 4 Description 5 ----------- 6 Adds the `conditional` function to modify the behavior of keybindings based on a condition encoded as a function. 7 `conditional` takes three function pointers, namely `condition`, `func_true`, and `func_false`, along with arguments for the last two. 8 `func_true` is invoked when `conditional` returns true, otherwise `func_false` is invoked. 9 `NULL` can be passed as `func_true` or `func_false` and acts as a no-op. 10 11 Download 12 -------- 13 * [dwm-conditional-6.8.diff](dwm-conditional-6.8.diff) 14 15 Authors 16 ------- 17 * Noah Osterholz - <osterholznoah@gmail.com>