summaryrefslogtreecommitdiffhomepage
path: root/patches.def.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-09-29 15:24:44 +0200
committerbakkeby <[email protected]>2020-09-29 15:24:44 +0200
commit37c212ad55ef0b793b55a144be3e7b3b83c56f2f (patch)
treed7c330cd0149d178ae49fcb79e1fe5c5e829c65a /patches.def.h
parentfbacf17346b8933b691cb2b4ca522860cd6dfa4d (diff)
downloaddwm-flexipatch-37c212ad55ef0b793b55a144be3e7b3b83c56f2f.tar.gz
dwm-flexipatch-37c212ad55ef0b793b55a144be3e7b3b83c56f2f.zip
Adding on_empty_keys patch ref. #51
Diffstat (limited to 'patches.def.h')
-rw-r--r--patches.def.h9
1 files changed, 9 insertions, 0 deletions
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