commit - 13b0aa69e3c3e325d05942ae27ed6047d274361d
commit + 07336d011a56aa62f08ff155dad9dae12b6632f0
blob - d19e3ed9d7273177c6ff9ed106822c6877ab8a9a
blob + fbfd3f55f0b8eac6058e116decaa1a78721e9e29
--- dwm/config.h
+++ dwm/config.h
#define DMENU_ARGS "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4
static const char *termcmd[] = { "st", NULL };
static const char *slockcmd[] = { "pkill", "-USR1", "xidle", NULL };
+static const char *xkillcmd[] = { "xkill", NULL };
#define script(...) ((const char *[]){ "/bin/sh", PREFIX "/libexec/desktop/" __VA_ARGS__, NULL })
#define dmscript(...) script(__VA_ARGS__, DMENU_ARGS)
{ MODKEY, XK_Escape, spawn, {.v = slockcmd } },
{ MODKEY|ShiftMask, XK_Escape, spawn, {.v = dmscript("dmenu_power") } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY|ControlMask, XK_q, spawn, {.v = xkillcmd } },
//{ MODKEY|ShiftMask, XK_Return, spawn, {.v = script("launch-tabbed-st") } },
{ MODKEY|ShiftMask, XK_t, spawn, {.v = script("toggle_touchpad")} },
{ MODKEY, XK_b, togglebar, {0} },
blob - dbfcc0badc3fec55d261bb12916223d0ed791678
blob + c13b5af78b00b9efe37f1c7deea098973d1251e2
--- scripts/restore-keybinds
+++ scripts/restore-keybinds
#!/bin/sh
-setxkbmap de us
+setxkbmap -option caps:none de us
xmodmap -e 'keycode 66 = Escape'