add a note about having at least a dummy rule for rules[]

Closes: https://codeberg.org/dwl/dwl/issues/656
This commit is contained in:
Leonardo Hernández Hernández 2024-06-29 18:31:01 -06:00
parent 1002ea04fa
commit 2b4893a0ad
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

View File

@ -20,6 +20,7 @@ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You ca
/* logging */ /* logging */
static int log_level = WLR_ERROR; static int log_level = WLR_ERROR;
/* NOTE: ALWAYS keep a rule declared even if you don't use rules (e.g leave at least one example) */
static const Rule rules[] = { static const Rule rules[] = {
/* app_id title tags mask isfloating monitor */ /* app_id title tags mask isfloating monitor */
/* examples: */ /* examples: */