config.patch (1680B)
1 diff --git i/config.def.h w/config.def.h 2 index 01ebd48..1725f9e 100644 3 --- i/config.def.h 4 +++ w/config.def.h 5 @@ -38,6 +38,8 @@ static const char *mupdf[] = { "mupdf", "-I" }; 6 static const char *libreoffice[] = { "libreoffice" }; 7 static const char *gimp[] = { "gimp" }; 8 static const char *r2[] = { "r2", "-c", "vv" }; 9 +static const char *gpxsee[] = { "gpxsee" }; 10 +static const char *oomapper[] = { "Mapper" }; 11 12 /* extensions*/ 13 static const char *images[] = { "bmp", "jpg", "jpeg", "png", "gif", "xpm" }; 14 @@ -50,6 +52,9 @@ static const char *videos[] = { "avi", "flv", "wav", "webm", "wma", "wmv", 15 "mp4", "mpeg", "mpg" }; 16 static const char *documents[] = { "odt", "doc", "docx", "xls", "xlsx", "odp", 17 "ods", "pptx", "odg" }; 18 +static const char *gpsdata[] = { "gpx", "tcx", "kml", "loc", "slf", "fit", "igc", "nmea", "plt", "rte", "wpt", "geojson", "cup", "gpi", "sml", "ov2", "itn" }; 19 +static const char *maps[] = { "img", "jnx", "xml", "kap", "map", "mbtiles", "rmap", "rtmap", "tba", "kmz", "aqm", "sqlitedb" }; 20 +static const char *omaps[] = { "omap", "xmap", "ocd" }; 21 22 static Rule rules[] = { 23 {videos, LEN(videos), mpv, LEN(mpv) }, 24 @@ -59,6 +64,9 @@ static Rule rules[] = { 25 {documents, LEN(documents), libreoffice, LEN(libreoffice) }, 26 {arts, LEN(arts), gimp, LEN(gimp) }, 27 {obj, LEN(obj), r2, LEN(r2) }, 28 + {gpsdata, LEN(gpsdata), gpxsee, LEN(gpxsee) }, 29 + {maps, LEN(maps), gpxsee, LEN(gpxsee) }, 30 + {omaps, LEN(omaps), oomapper, LEN(oomapper) }, 31 }; 32 33 /* normal keys */