-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
22 lines (21 loc) · 1.36 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#define BROWSER "chromium"
#define EDITOR "nvim"
#define MEDIA "mpv"
static Rule protocols[] = {
{"http://" ,BROWSER ,false} ,
{"https://" ,BROWSER ,false} ,
{"dvd://" ,MEDIA ,true } ,
{"cdda://" ,MEDIA ,true } ,
{"mumble://" ,"mumble" ,false} ,
{"steam://" ,"steam" ,false} ,
{"magnet:?" ,"/home/nokkasiili/Projects/Scripts/magnet.sh" ,false} ,
};
static Rule mimes[] = {
{"text/html" ,BROWSER ,false} ,
{"text" ,EDITOR ,true } ,
{"video" ,MEDIA ,true } ,
{"audio" ,MEDIA ,true } ,
{"application/octet-stream",MEDIA ,true } ,
{"image" ,"sxiv" ,false} ,
{"inode" ,"/home/nokkasiili/Projects/Scripts/openfolder.sh" ,false} ,
};