Make Conkeror init username-agnostic
This commit is contained in:
parent
e72f3c5810
commit
7089660933
1 changed files with 31 additions and 6 deletions
|
@ -4,11 +4,37 @@ require("session");
|
||||||
require("github");
|
require("github");
|
||||||
require("reddit");
|
require("reddit");
|
||||||
|
|
||||||
load_paths.push("file:///home/slash/projects/cdispass/");
|
let (home = get_home_directory()) {
|
||||||
load_paths.push("file:///home/slash/.conkerorrc/site-js/");
|
let (projects = home.clone(),
|
||||||
load_paths.push("file:///home/slash/.conkerorrc/page-modes/");
|
init = home.clone(),
|
||||||
theme_load_paths.push("/home/slash/.conkerorrc/themes/");
|
downloads = home.clone()) {
|
||||||
opensearch_load_paths.push(make_file("/home/slash/.conkerorrc/search-engines/"));
|
|
||||||
|
projects.append('projects');
|
||||||
|
init.append('.conkerorrc');
|
||||||
|
downloads.append('downloads');
|
||||||
|
|
||||||
|
let (cdispass = projects.clone(),
|
||||||
|
site_js = init.clone(),
|
||||||
|
page_modes = init.clone(),
|
||||||
|
themes = init.clone(),
|
||||||
|
search_engines = init.clone()) {
|
||||||
|
|
||||||
|
cdispass.append('cdispass');
|
||||||
|
site_js.append('site-js');
|
||||||
|
page_modes.append('page-modes');
|
||||||
|
themes.append('themes');
|
||||||
|
search_engines.append('search-engines');
|
||||||
|
|
||||||
|
load_paths.push("file://" + cdispass.path);
|
||||||
|
load_paths.push("file://" + site_js.path);
|
||||||
|
load_paths.push("file://" + page_modes.path);
|
||||||
|
theme_load_paths.push(themes.path);
|
||||||
|
opensearch_load_paths.push(search_engines);
|
||||||
|
};
|
||||||
|
|
||||||
|
cwd = downloads;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
require("cdispass");
|
require("cdispass");
|
||||||
require("jira");
|
require("jira");
|
||||||
|
@ -172,7 +198,6 @@ define_webjump("chickadee",
|
||||||
/// /Chickadee
|
/// /Chickadee
|
||||||
|
|
||||||
// content_policy_bytype_table.object = oni_block_flash;
|
// content_policy_bytype_table.object = oni_block_flash;
|
||||||
cwd = make_file("/home/slash/downloads/");
|
|
||||||
hint_digits = "arstdhneio";
|
hint_digits = "arstdhneio";
|
||||||
read_buffer_show_icons = true;
|
read_buffer_show_icons = true;
|
||||||
title_format_fn = ext_title_format;
|
title_format_fn = ext_title_format;
|
||||||
|
|
Loading…
Reference in a new issue