dwm patch for i3-like modes
quick launching with extensive keymap configurability
probably easier to base on dwm-keymodes patch and implement multiple command modes based on mode selection:
https://dwm.suckless.org/patches/keymodes/
static const char *modetext[] = { "mode 1 text here", "mode 2 text here..." }; // this is for one mode, now how for more? static const Key *modekeys[] = { /* modifier key function argument */ { 0, XK_u, spawn, {.v = dmenucharpick } }, };
void modes_setmode(char *modetext)selmon) selected window's title (sel->name) to desired mode textstruct Client { char name[256] ...strncpy(selmon->sel->name, modetext, 255)drawbar(selmon);