]> git.donarmstrong.com Git - dactyl.git/blob - pentadactyl/config.json
Merge tag 'upstream/1.1+hg7904'
[dactyl.git] / pentadactyl / config.json
1 {
2     "name": "pentadactyl",
3     "appName": "Pentadactyl",
4     "idName": "PENTADACTYL",
5     "host": "Firefox",
6     "hostbin": "firefox",
7
8     "module-paths": [
9         "resource://dactyl/"
10     ],
11
12     "resources": {
13         "dactyl":             "../common/modules/",
14         "dactyl-common":      "../common/",
15         "dactyl-content":     "../common/content/",
16         "dactyl-skin":        "../common/skin/",
17         "dactyl-locale":      "../common/locale/",
18
19         "dactyl-local":         "./",
20         "dactyl-local-content": "content/",
21         "dactyl-local-skin":    "skin/",
22         "dactyl-local-locale":  "locale/"
23     },
24
25     "components": {
26         "{16dc34f7-6d22-4aa4-a67f-2921fb5dcb69}": {
27             "path": "components/commandline-handler.js",
28             "contract": "@mozilla.org/commandlinehandler/general-startup;1?type=dactyl",
29             "categories": {
30                 "command-line-handler": "m-dactyl"
31             }
32         }
33     },
34
35     "autocommands": {
36         "BookmarkAdd":      "Triggered after a page is bookmarked",
37         "BookmarkChange":   "Triggered after a page's bookmark is changed",
38         "BookmarkRemove":   "Triggered after a page's bookmark is removed",
39         "ColorScheme":      "Triggered after a color scheme has been loaded",
40         "DOMLoad":          "Triggered when a page's DOM content has fully loaded",
41         "DownloadPost":     "Triggered when a download has completed",
42         "Fullscreen":       "Triggered when the browser's fullscreen state changes",
43         "LocationChange":   "Triggered when changing tabs or when navigation to a new location",
44         "PageLoadPre":      "Triggered after a page load is initiated",
45         "PageLoad":         "Triggered when a page gets (re)loaded/opened",
46         "PrivateMode":      "Triggered when private browsing mode is activated or deactivated",
47         "Sanitize":         "Triggered when a sanitizeable item is cleared",
48         "ShellCmdPost":     "Triggered after executing a shell command with :!cmd",
49         "Enter":            "Triggered after Firefox starts",
50         "LeavePre":         "Triggered before exiting Firefox, just before destroying each module",
51         "Leave":            "Triggered before exiting Firefox"
52     },
53
54     "option-defaults": {
55         "complete":     "search,location,file",
56         "guioptions":   "bCrs",
57         "showtabline":  "always",
58         "titlestring":  "Pentadactyl"
59     },
60
61     "features": [
62         "sanitizer",
63         "windows"
64     ],
65
66     "guioptions": {
67         "m": ["Menubar",      ["toolbar-menubar"]],
68         "T": ["Toolbar",      ["nav-bar"]],
69         "B": ["Bookmark bar", ["PersonalToolbar"]]
70     },
71
72     "overlays": {
73         "chrome://browser/content/browser.xul": {
74             "completers": {
75                 "sidebar": "sidebar",
76                 "window": "window"
77             },
78
79             "features": [
80                 "bookmarks",
81                 "hints",
82                 "history",
83                 "marks",
84                 "quickmarks",
85                 "session",
86                 "tabbrowser",
87                 "tabs",
88                 "tabs_undo"
89             ],
90
91             "ids": {
92                 "command-container": "browser-bottombox"
93             },
94
95             "scripts": [
96                 "browser",
97                 "bookmarkcache",
98                 "bookmarks",
99                 "history",
100                 "quickmarks",
101                 "sanitizer",
102                 "tabs"
103             ]
104         }
105     },
106
107     "sidebars": {
108         "viewAddons":       ["Add-ons",     "A", "chrome://mozapps/content/extensions/extensions.xul"],
109         "viewConsole":      ["Console",     "C", "chrome://global/content/console.xul"],
110         "viewDownloads":    ["Downloads",   "D", "chrome://mozapps/content/downloads/downloads.xul"],
111         "viewPreferences":  ["Preferences", "P", "about:config"]
112     }
113 }