Search current clipboard with brave and google

This commit is contained in:
tosu 2023-08-27 04:42:06 +02:00
parent 80e6b7a847
commit 1441d7ac5f
Signed by: tosu
GPG Key ID: C00746F2E0F36492
1 changed files with 2 additions and 0 deletions

View File

@ -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") },