diff --git a/README.md b/README.md index 390788d..38211c4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # dwl - dwm for Wayland +2025-08-16: +dwl IS CURRENTLY UN-MAINTAINED. +AT THE PRESENT TIME, I (@fauxmight) DO NOT HAVE +THE TIME OR CAPACITY TO KEEP UP WITH [wlroots] CHANGES. +IF YOU ARE INTERESTED IN TAKING ON LEAD DEVELOPER RESPONSIBILITIES, +SEE ISSUE [#1166](https://codeberg.org/dwl/dwl/issues/1166). +--- + Join us on our IRC channel: [#dwl on Libera Chat] Or on the community-maintained [Discord server]. diff --git a/config.def.h b/config.def.h index 7c66dfb..205fa80 100644 --- a/config.def.h +++ b/config.def.h @@ -21,13 +21,19 @@ static const float fullscreen_bg[] = {0.0f, 0.0f, 0.0f, 1.0f}; /* You ca /* logging */ 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[] = { +<<<<<<< HEAD /* app_id title tags mask isfloating neverdim monitor */ /* examples: { "Gimp_example", NULL, 0, 1, 0, -1 }, */ { "firefox_example", NULL, 1 << 8, 0, 1, -1 }, +======= + /* app_id title tags mask isfloating monitor */ + { "Gimp_EXAMPLE", NULL, 0, 1, -1 }, /* Start on currently visible tags floating, not tiled */ + { "firefox_EXAMPLE", NULL, 1 << 8, 0, -1 }, /* Start on ONLY tag "9" */ + /* default/example rule: can be changed but cannot be eliminated; at least one rule must exist */ +>>>>>>> main }; /* layout(s) */ @@ -40,17 +46,14 @@ static const Layout layouts[] = { /* monitors */ /* (x=-1, y=-1) is reserved as an "autoconfigure" monitor position indicator - * WARNING: negative values other than (-1, -1) cause problems with Xwayland clients - * https://gitlab.freedesktop.org/xorg/xserver/-/issues/899 -*/ -/* NOTE: ALWAYS add a fallback rule, even if you are completely sure it won't be used */ + * WARNING: negative values other than (-1, -1) cause problems with Xwayland clients due to + * https://gitlab.freedesktop.org/xorg/xserver/-/issues/899 */ static const MonitorRule monrules[] = { - /* name mfact nmaster scale layout rotate/reflect x y */ - /* example of a HiDPI laptop monitor: - { "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, - */ - /* defaults */ + /* name mfact nmaster scale layout rotate/reflect x y + * example of a HiDPI laptop monitor: + { "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, */ { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + /* default monitor rule: can be changed but cannot be eliminated; at least one monitor rule must exist */ }; /* keyboard */ diff --git a/dwl.c b/dwl.c index d86e619..d1d2cee 100644 --- a/dwl.c +++ b/dwl.c @@ -1876,7 +1876,8 @@ keybinding(uint32_t mods, xkb_keysym_t sym) const Key *k; for (k = keys; k < END(keys); k++) { if (CLEANMASK(mods) == CLEANMASK(k->mod) - && sym == k->keysym && k->func) { + && xkb_keysym_to_lower(sym) == xkb_keysym_to_lower(k->keysym) + && k->func) { k->func(&k->arg); return 1; }