Add custom scripts
This commit is contained in:
parent
f25f84450a
commit
d8896f0a9e
1 changed files with 7 additions and 3 deletions
10
config.def.h
10
config.def.h
|
@ -65,12 +65,14 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont,
|
|||
static const char *termcmd[] = { "st", NULL };
|
||||
static const char *backlightinccmd[] = { "xbacklight", "-inc", "5", NULL };
|
||||
static const char *backlightdeccmd[] = { "xbacklight", "-dec", "5", NULL };
|
||||
static const char *volup[] = { "volcont", "--up", NULL };
|
||||
static const char *voldown[] = { "volcont", "--down", "5", NULL };
|
||||
static const char *voltog[] = { "volcont", "--toggle", "5", NULL };
|
||||
static const char *volup[] = { "/usr/local/bin/volcont", "--up", NULL };
|
||||
static const char *voldown[] = { "/usr/local/bin/volcont", "--down", "5", NULL };
|
||||
static const char *voltog[] = { "/usr/local/bin/volcont", "--toggle", "5", NULL };
|
||||
static const char *slock[] = { "slock", NULL };
|
||||
static const char *keepass[] = { "mono", "/usr/share/keepass/KeePass.exe", "--auto-type", NULL };
|
||||
static const char *pass[] = { "/usr/local/bin/passautotype", "-t", NULL };
|
||||
static const char *touchtog[] = { "/usr/local/bin/touchtog", NULL }; /* touchpad toggle */
|
||||
static const char *clipqr[] = { "/usr/local/bin/clipqr", NULL }; /* clipboard to QR */
|
||||
|
||||
static Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
|
@ -81,9 +83,11 @@ static Key keys[] = {
|
|||
{ 0, 0x1008ff13,spawn, {.v = volup } },
|
||||
{ 0, 0x1008ff11,spawn, {.v = voldown } },
|
||||
{ 0, 0x1008ff12,spawn, {.v = voltog } },
|
||||
{ 0, 0x1008ffa9,spawn, {.v = touchtog } },
|
||||
{ MODKEY, XK_l, spawn, {.v = slock } },
|
||||
{ MODKEY, XK_a, spawn, {.v = keepass } },
|
||||
{ MODKEY, XK_z, spawn, {.v = pass } },
|
||||
{ MODKEY, XK_v, spawn, {.v = clipqr } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY, XK_Tab, focusstack, {.i = +1 } },
|
||||
{ MODKEY|ShiftMask, XK_Tab, focusstack, {.i = -1 } },
|
||||
|
|
Loading…
Reference in a new issue