config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit ee40f7db15ea129d88e49f18bdf24d9ed1294402
parent 7784bb791e20a423785d2b5e6121e9cddeb7541d
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Fri, 29 Jan 2021 00:09:24 -0800

Add dillo browser module

Diffstat:
MMakefile | 3++-
Amodules/dillo/.dillo/cookiesrc | 1+
Amodules/dillo/.dillo/dillorc | 109+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Amodules/dillo/.dillo/keysrc | 54++++++++++++++++++++++++++++++++++++++++++++++++++++++
Amodules/dillo/.dillo/style.css | 37+++++++++++++++++++++++++++++++++++++
5 files changed, 203 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,5 +1,6 @@ MODULE_DIR = modules -MODULES = ets\ +MODULES = dillo\ + ets\ git\ ksh\ mpd\ diff --git a/modules/dillo/.dillo/cookiesrc b/modules/dillo/.dillo/cookiesrc @@ -0,0 +1 @@ +DEFAULT DENY diff --git a/modules/dillo/.dillo/dillorc b/modules/dillo/.dillo/dillorc @@ -0,0 +1,109 @@ +# dillorc (see www.dillo.org/dillorc) + +load_images=NO +load_background_images=NO +load_stylesheets=YES +parse_embedded_css=YES + +# Change the buffering scheme for drawing +# 0 no double buffering - useful for debugging +# 1 light buffering using a single back buffer for all windows +# 2 full fltk-based double buffering for all windows +buffered_drawing=1 + +save_dir="$HOME/dl/dillo" + +# fonts +# If FLTK has been configured with Xft enabled (the default), you can use +# scalable fonts such as DejaVu or Liberation (try running +# "fc-list : family | cut -d ',' -f 2 | sort"). +#font_serif="DejaVu Serif" +#font_sans_serif="DejaVu Sans" +#font_cursive="URW Chancery L" +#font_fantasy="DejaVu Sans" +#font_monospace="DejaVu Sans Mono" + +# All font sizes are scaled by this value +#font_factor=1.0 +# Maximum font size in pixels +#font_max_size=100 +# Minimum font size in pixels +#font_min_size=6 +# Show tooltip popups for HTML title attributes +#show_tooltip=YES +# Set this to YES to limit the word wrap width to the viewport width +#limit_text_width=NO + +start_page="about:blank" +home="about:blank" + +# search engines +search_url = "s0 https://searx.be/?q=%s&categories=general&language=en-US" +search_url = "s1 http://searx.lukesmith.xyz/?q=%s&catagories=general&language=en-US" +search_url = "s2 https://searx.bar/?q=%s&catagories=general&language=en-US" +search_url = "so0 http://juy4e6eicawzdrz7.onion/?q=%s&catagories=general&language=en-US" +search_url = "so1 http://hmfztxt3pfhevucl.onion/?q=%s&catagories=general&language=en-US" +search_url = "ebay https://www.ebay.com/sch/i.html?_nkw=%s&_sop=15" +search_url = "w https://en.wikipedia.org/w/index.php?search=%s" +search_url = "hw https://handwiki.org/wiki/index.php?search=%s" +search_url = "aw https://wiki.archlinux.org/index.php?search=%s" + +# http_max_conns=6 +# http_proxy="http://localhost:8080/" + +# Set the domains to access without proxy +# no_proxy = ".hola.com .mynet.cl .hi.de" +#no_proxy="localhost 127.0.0.1" + +# Set the HTTP Referer (sic) header. +# Note that there is no option to reveal the page that you came from because it +# would endanger your privacy. 'host' and 'path' allow you to pretend that the +# link you followed was on the same site that you're going to. +# none : Don't send any Referer header at all. +# host : Send the requested URI's hostname. +# path : Send the requested URI's host and path. +#http_referer=host + +# Set the HTTP User-Agent header. +# This can be useful for privacy and for working around servers who think +# Dillo is less capable than it really is. However, if you pretend to use a +# different browser, servers may send you pages that work with the features +# and bugs of that other browser -- or even disallow access in cases like +# wget or googlebot. Remember this before submitting bug reports. +# +# See http://zytrax.com/tech/web/browser_ids.htm for a compilation of strings. +# +# http_user_agent="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0" +# http_user_agent="Wget/1.13.4 (linux-gnu)" +#The default is "Dillo/"+current_version_number + +# colors +theme=none +bg_color=#000 +ui_fg_color=#000 +ui_main_bg_color=#fff +ui_text_bg_color=#ddd +ui_selection_color=#333 +ui_button_highlight_color=#fff + +# options: tiny, small, medium +panel_size=tiny +show_back=NO +show_forw=NO +show_home=NO +show_reload=NO +show_save=NO +show_stop=NO +show_bookmarks=NO +show_tools=NO +show_filemenu=YES +show_clear_url=NO +show_url=YES +show_search=YES +show_help=NO +show_progress_box=NO +show_ui_tooltip=NO +fullwindow_start=YES # disable panel +middle_click_drags_page=NO +show_quit_dialog=NO +small_icons=YES diff --git a/modules/dillo/.dillo/keysrc b/modules/dillo/.dillo/keysrc @@ -0,0 +1,54 @@ +# dillo keysrc (see www.dillo.org/keysrc) + +# disable defaults +<ctrl>o = nop +<ctrl>n = nop +<ctrl>t = nop +<ctrl>w = nop +<ctrl>q = nop +backspace = nop +<shift>backspace = nop +, = nop +. = nop +<ctrl>r = nop +<ctrl>h = nop +<ctrl>f = nop +esc = nop +<ctrl>s = nop +<ctrl>b = nop +<alt>f = nop +<ctrl>u = nop +<ctrl>l = nop +pageup = nop +b = nop +pagedown = nop +space = nop +up = nop +down = nop +left = nop +right = nop +home = nop +end = nop + +# regular +/ = find +<ctrl>c = stop +<ctrl>g = hide-panels +<ctrl>i = forward +<ctrl>l = goto +<ctrl>o = back +<ctrl>r = reload +O = goto +o = websearch + +# motion +<ctrl>f = screen-down +<ctrl>b = screen-up +<ctrl>d = screen-down +<ctrl>u = screen-up +k = line-up +j = line-down +h = left +l = right +g = top +G = bottom diff --git a/modules/dillo/.dillo/style.css b/modules/dillo/.dillo/style.css @@ -0,0 +1,37 @@ +/** vimb user-stylesheet **/ + +* { + background-color: #000 !important; + color: #FFF !important; + border-color: #111 !important; + border-radius: 0 !important; + background-image: none !important; + box-shadow: none !important; + text-shadow: none !important; + text-decoration: none !important; + animation: none !important; +} + +a { + color: #66F !important; +} + +a:visited { + color: #333 !important; +} + +a:hover,a:focus,*[vimbhint='hint focus'] { + color: #F66 !important; +} + +q,blockquote { + font-family: serif !important; +} + +code,pre { + font-family: monospace !important; +} + +svg { + display: none !important; +}