diff --git a/.conkerorrc/gtk2rc b/.conkerorrc/gtk2rc new file mode 100644 index 0000000..fd511e5 --- /dev/null +++ b/.conkerorrc/gtk2rc @@ -0,0 +1,11 @@ +include "/home/slash/.gtkrc-2.0" + +style "noscrollbars" { + GtkScrollbar::slider-width=0 + GtkScrollbar::trough-border=0 + GtkScrollbar::has-backward-stepper=0 + GtkScrollbar::has-forward-stepper=0 + GtkScrollbar::has-secondary-backward-stepper=0 + GtkScrollbar::has-secondary-forward-stepper=0 +} +widget "MozillaGtkWidget.*" style "noscrollbars" diff --git a/.conkerorrc/keys.js b/.conkerorrc/keys.js new file mode 100644 index 0000000..5bf7fa3 --- /dev/null +++ b/.conkerorrc/keys.js @@ -0,0 +1 @@ +define_key(default_base_keymap, "C-x f", "follow-new-buffer"); diff --git a/.conkerorrc/modeline.js b/.conkerorrc/modeline.js new file mode 100644 index 0000000..cac9b85 --- /dev/null +++ b/.conkerorrc/modeline.js @@ -0,0 +1,4 @@ +require("favicon"); + +add_hook("mode_line_hook", mode_line_adder(buffer_icon_widget, true)); +add_hook("mode_line_hook", mode_line_adder(buffer_count_widget, true)); 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); + }); diff --git a/.conkerorrc/theme.js b/.conkerorrc/theme.js new file mode 100644 index 0000000..ea65bcc --- /dev/null +++ b/.conkerorrc/theme.js @@ -0,0 +1,2 @@ +theme_load_paths.push("/home/slash/.conkeror/themes/"); +theme_load("naquadah"); diff --git a/.conkerorrc/webjumps.js b/.conkerorrc/webjumps.js new file mode 100644 index 0000000..8da4e52 --- /dev/null +++ b/.conkerorrc/webjumps.js @@ -0,0 +1,21 @@ +define_webjump("archwiki", + "https://wiki.archlinux.org/index.php?search=%s", + $alternative="https://wiki.archlinux.org"); +define_webjump("aur", + "https://aur.archlinux.org/packages.php?O=0&k=%s&do_Search=Go", + $alternative="https://aur.archlinux.org"); +define_webjump("archpackages", + "https://www.archlinux.org/packages/?sort=&q=%s&limit=50", + $alternative="https://packages.archlinux.org"); +define_webjump("emacswiki", + "http://www.google.com/cse?cx=004774160799092323420%3A6-ff2s0o6yi&q=%s", + $alternative="http://www.emacswiki.org"); +define_webjump("php", + "http://www.php.net/manual-lookup.php?pattern=%s&scope=quickref", + $alternative="http://www.php.net"); +define_webjump("python", + "http://docs.python.org/search.html?q=%s&check_keywords=yes&area=default", + $alternative="http://www.python.org"); +define_webjump("ddg", + "https://duckduckgo.com/?q=%s", + $alternative="https://duckduckgo.com");