From 37c212ad55ef0b793b55a144be3e7b3b83c56f2f Mon Sep 17 00:00:00 2001 From: bakkeby Date: Tue, 29 Sep 2020 15:24:44 +0200 Subject: Adding on_empty_keys patch ref. #51 --- patches.def.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'patches.def.h') diff --git a/patches.def.h b/patches.def.h index 916d971..13e929e 100644 --- a/patches.def.h +++ b/patches.def.h @@ -677,6 +677,15 @@ */ #define NO_TRANSPARENT_BORDERS_PATCH 0 +/* Port of InstantVM's on_empty_keys functionality allowing keybindings that apply only when + * a tag is empty. An example use case is being able to launch applications with first hand + * keys like "f" to launch firefox. + * + * https://github.com/instantOS/instantWM/ + * https://github.com/bakkeby/dwm-flexipatch/issues/51 + */ +#define ON_EMPTY_KEYS_PATCH 0 + /* Minor patch that prevents more than one rule being matched for a given client. */ #define ONLY_ONE_RULE_MATCH_PATCH 0 -- cgit v1.2.3