config

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

commit 52f08ca844f1286d76f4175c45099d451052a1d2
parent 80c80df6fc89342c1615ab31ae173c747c6cfa86
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Tue, 31 Aug 2021 22:36:13 -0700

Add dillo module and set BROWSER to dillo

Diffstat:
Mlocal/Makefile | 1+
Alocal/dillo/.dillo/cookiesrc | 1+
Alocal/dillo/.dillo/dillorc | 81+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Alocal/dillo/.dillo/keysrc | 83+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mlocal/rc/lib/profile | 2+-
5 files changed, 167 insertions(+), 1 deletion(-)

diff --git a/local/Makefile b/local/Makefile @@ -3,6 +3,7 @@ ACTION = link TARGET = ${HOME} MODULES =\ bin\ + dillo\ git\ ksh\ links\ diff --git a/local/dillo/.dillo/cookiesrc b/local/dillo/.dillo/cookiesrc @@ -0,0 +1 @@ +DEFAULT DENY diff --git a/local/dillo/.dillo/dillorc b/local/dillo/.dillo/dillorc @@ -0,0 +1,81 @@ +# dillorc + +# Image and CSS (easily changed at runtime) +load_images=YES +load_background_images=YES +load_stylesheets=YES +parse_embedded_css=YES + +# Fonts +font_serif="DejaVu Serif" +font_sans_serif="DejaVu Sans" +font_cursive="DejaVu Serif" +font_fantasy="DejaVu Sans" +font_monospace="DejaVu Sans Mono" + +# Font Drawing +font_factor=1.0 +font_max_size=100 +font_min_size=6 +limit_text_width=YES + +# HTTP +http_language=en +http_max_conns=6 +#http_proxy="http://localhost:8080/" +#no_proxy="localhost 127.0.0.1" +#http_user_agent="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0" +# either none, host, or path +http_referer=host + +# HTML Color Settings +bg_color=white +allow_white_bg=YES +white_bg_replacement=0xe0e0a3 +contrast_visited_color=YES + +# User Interface +# either plastic, gtk+, or gleam +theme=none +panel_size=tiny +small_icons=NO +show_ui_tooltip=YES +ui_fg_color=black +ui_main_bg_color=beige +ui_text_bg_color=white +ui_selection_color=blue +ui_button_highlight_color=blue + +# Panel Items +show_back=YES +show_forw=YES +show_home=NO +show_reload=YES +show_save=NO +show_stop=YES +show_bookmarks=NO +show_tools=YES +show_filemenu=NO +show_clear_url=NO +show_url=YES +show_search=NO +show_help=NO +show_progress_box=NO + +# Mouse +# if NO create a new window instead +middle_click_opens_new_tab=NO +# if NO paste URL into window instead +middle_click_drags_page=YES + +# Logging +show_msg=YES +show_extra_warnings=YES + +# Etc +show_tooltip=YES +start_page=about:blank +save_dir=/tmp +fullwindow_start=NO +enterpress_forces_submit=NO +show_quit_dialog=YES diff --git a/local/dillo/.dillo/keysrc b/local/dillo/.dillo/keysrc @@ -0,0 +1,83 @@ +# keysrc + +# Unbind Defaults +<ctrl>o = nop +<ctrl>n = nop +<ctrl>t = nop +<ctrl>w = nop +<ctrl>q = nop +<ctrl><shift>tab = nop +<ctrl>PageUp = nop +<ctrl>tab = nop +<ctrl>PageDown = 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 + +# Standard +home = top +end = bottom +pagedown = screen-down +pageup = screen-up +up = line-up +down = line-down +left = left +right = right +back = back +forward = forward +refresh = reload +esc = hide-panels + +# Terminal +<ctrl>u = goto +<ctrl>o = back +<ctrl>n = forward +<ctrl>\ = close-tab +<ctrl>c = stop +<ctrl>x = stop + +# vi +g = top +G = bottom +<ctrl>f = screen-down +<ctrl>b = screen-up +h = left +j = line-down +k = line-up +l = right +/ = find + +# Links (overrides some previous definitions) +G = goto +p = line-up +l = line-down +z = back + +# Etc +q = close-tab +<ctrl>q = close-tab +r = reload +<ctrl>r = reload +f = screen-down +b = screen-up +<ctrl>p = back diff --git a/local/rc/lib/profile b/local/rc/lib/profile @@ -13,7 +13,7 @@ ifs = ' ' # programs -BROWSER = www +BROWSER = dillo CC = tcc EDITOR = sam LOCKER = slock