diff --git a/config.def.h b/config.def.h index 0284b02..31e23d1 100644 --- a/config.def.h +++ b/config.def.h @@ -75,6 +75,7 @@ static const char *pavucontrolcmd[] = { "pavucontrol-qt", NULL }; static const char *slockcmd[] = { "slock", NULL }; static const char scratchpadname[] = "scratchpad"; static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; +static const char *autorandrcmd[] = { "autorandr", "-c", NULL }; static Key keys[] = { /* modifier key function argument */ @@ -120,6 +121,8 @@ static Key keys[] = { { MODKEY, XK_v, spawn, {.v = pavucontrolcmd } }, /* slock */ { MODKEY, XK_s, spawn, {.v = slockcmd } }, + /* autorandr */ + { MODKEY|ShiftMask, XK_a, spawn, {.v = autorandrcmd } }, }; /* button definitions */