diff options
author | Tom Willemsen | 2011-12-28 15:43:09 +0100 |
---|---|---|
committer | Tom Willemsen | 2011-12-28 15:43:09 +0100 |
commit | 7ae7d059076ccf8895c14a996000a795e572bd3b (patch) | |
tree | bae6396e5009190a18f53ac309f7ac1d5fe84e07 /.conkerorrc/settings.js | |
parent | fc3cc20ad01d50dff371080bfeed962b5645515e (diff) | |
download | dotfiles-7ae7d059076ccf8895c14a996000a795e572bd3b.tar.gz dotfiles-7ae7d059076ccf8895c14a996000a795e572bd3b.zip |
Add conkeror configuration
Diffstat (limited to '.conkerorrc/settings.js')
-rw-r--r-- | .conkerorrc/settings.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.conkerorrc/settings.js b/.conkerorrc/settings.js new file mode 100644 index 0000000..4dc32c4 --- /dev/null +++ b/.conkerorrc/settings.js @@ -0,0 +1,14 @@ +cwd = make_file("/home/slash/downloads/"); +url_remoting_fn = load_url_in_new_buffer; +read_buffer_show_icons = true; +hints_display_url_panel = true; + +add_hook("before_quit_hook", + function () { + var w = get_recent_conkeror_window(); + var result = (w == null) || + "y" == (yield w.minibuffer.read_single_character_option( + $prompt = "Quit Conkeror? (y/n)", + $options = ["y", "n"])); + yield co_return(result); + }); |