diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-12-12 23:27:49 +0000 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2025-12-12 23:27:49 +0000 |
| commit | 7389e60d59e225b819004cfe60c893493ab129f4 (patch) | |
| tree | 0aacc1e218be6ff0dfc23cc54140dc4fa362a3ab | |
| parent | a0a521a5c5537a9730c05cb9b471372f04794b9b (diff) | |
use vi mode for dmenu by default
| -rw-r--r-- | config.h | 2 | ||||
| -rw-r--r-- | dwm.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ static const char *colors[][5] = { static const char *const autostart[] = { /* program arguments options null terminator */ "xhidecursor", "", "", NULL, - "xsetroot", "-solid", "black", NULL, + "xsetroot", "-solid", "black", NULL, "xmodmap", "-e", "keycode 66 = Escape", NULL, "xmodmap", "-e", "keycode 108 = Caps_Lock", NULL, NULL @@ -2407,7 +2407,7 @@ search(const Arg *arg) { names[nameslen - 1] = '\0'; char dmenucmd[256]; - snprintf(dmenucmd, sizeof(dmenucmd), "echo '%s' | dmenu -l 10 -i -p 'Find client:'", names); + snprintf(dmenucmd, sizeof(dmenucmd), "echo '%s' | dmenu -vi -l 10 -i -p 'Find client:'", names); FILE *fp = popen(dmenucmd, "r"); if (!fp) { |
