add autorandr shortcut
This commit is contained in:
parent
1291112283
commit
48e7cd42ba
@ -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 const Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
@ -120,6 +121,8 @@ static const 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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user