X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=config.def.h;h=441ac52da6b38d35a270db58882e0c11b1c5013f;hb=b1e5693d5b520552c2f683f5b4585a83fb2d4c81;hp=4ef42521c64d0213799d98a0080585f5115f1d60;hpb=1007143bda871936e93925a6942c587de2f8939f;p=surf.git diff --git a/config.def.h b/config.def.h index 4ef4252..441ac52 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 } }, @@ -214,4 +216,4 @@ static Button buttons[] = { { OnMedia, MODKEY, 1, clickexternplayer, { 0 }, 1 }, }; -#define HOMEPAGE "https://searx.danieliu.xyz/" +#define HOMEPAGE "https://danieliu.xyz/"