X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=config.def.h;h=bb2b4a93c213c0b9915b4174f39b0c95f15758e3;hp=4ef42521c64d0213799d98a0080585f5115f1d60;hb=1f04725ac4e99f377d90b21e487a5d019fafda08;hpb=1007143bda871936e93925a6942c587de2f8939f diff --git a/config.def.h b/config.def.h index 4ef4252..bb2b4a9 100644 --- a/config.def.h +++ b/config.def.h @@ -106,7 +106,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE | /* VIDEOPLAY(URI) */ #define VIDEOPLAY(u) {\ .v = (const char *[]){ "/bin/sh", "-c", \ - "mpv --really-quiet \"$0\"", u, NULL \ + "notify-send 'Opening video in mpv...' & mpv --really-quiet \"$0\"", u, NULL \ } \ } @@ -154,6 +154,8 @@ static Key keys[] = { { MODKEY, GDK_KEY_slash, spawn, SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) }, { MODKEY, GDK_KEY_m, spawn, BM_ADD("_SURF_URI") }, + { MODKEY, GDK_KEY_w, playexternal, { 0 } }, + { 0, GDK_KEY_Escape, stop, { 0 } }, { MODKEY, GDK_KEY_c, stop, { 0 } },