Search current clipboard with brave and google
This commit is contained in:
parent
80e6b7a847
commit
1441d7ac5f
2
config.h
2
config.h
|
@ -66,6 +66,7 @@ static const char *toggleKeymap[] = { "toggle-keymap", NULL };
|
|||
static const char *compile[] = { "suck", NULL };
|
||||
static const char *pyEvalFrac[] = { "pyeval", "frac", NULL };
|
||||
static const char *pyEvalDec[] = { "pyeval", "dec", NULL };
|
||||
static const char *searchClipboard[] = { "searchClipboard", NULL };
|
||||
static const char *custom[] = { "custom.sh", NULL };
|
||||
|
||||
static const Key keys[] = {
|
||||
|
@ -84,6 +85,7 @@ static const Key keys[] = {
|
|||
{ MODKEY, XK_q, spawn, {.v = compile} },
|
||||
{ MODKEY|ControlMask, XK_d, spawn, {.v = pyEvalFrac} },
|
||||
{ MODKEY|ControlMask, XK_e, spawn, {.v = pyEvalDec} },
|
||||
{ MODKEY|ControlMask, XK_g, spawn, {.v = searchClipboard } },
|
||||
{ MODKEY|ControlMask, XK_n, spawn, {.v = custom} },
|
||||
{ MODKEY, XK_v, spawn, SHCMD("sleep 0.5; xdotool type \"$(xclip -d :0 -o -selection clipboard)\"") },
|
||||
{ MODKEY|ControlMask, XK_l, spawn, SHCMD("slock") },
|
||||
|
|
Loading…
Reference in New Issue