mistress emilia9/dotfiles / dillo / dillorc
  1# dillorc
  2# Sample dillo initialization file.
  3#
  4# Lines that start with a '#' are comments.
  5# "#option=..." shows the built-in default.
  6# "# option=..." is an additional example.
  7# "option=..." overrides the built-in value.
  8
  9#-------------------------------------------------------------------------
 10#                             FIRST SECTION                             :)
 11#-------------------------------------------------------------------------
 12
 13# Set the desired initial browser size
 14# geometry=650x545+0+20
 15#geometry=780x580
 16
 17# Change this (and the following option) if you want to have text-only browsing
 18# from the start. (While browsing, this can be changed from the tools/settings
 19# menu.)
 20#load_images=YES
 21
 22# A space separated list of image formats that will be ignored (not viewed).
 23# An option to download the image will be offered instead.
 24# Available formats: gif, png, webp, jpeg and svg.
 25# ignore_image_formats="webp svg"
 26#ignore_image_formats=""
 27
 28# Show a visible border on images that are not loaded yet. Makes it easier to
 29# spot them, but may cause unwanted noise in some pages.
 30#mark_unloaded_images=NO
 31
 32# Change this if you want background images to be loaded initially.
 33# (While browsing, this can be changed from the tools/settings menu.)
 34#load_background_images=NO
 35
 36# Change this if you want to disable loading of CSS stylesheets initially.
 37# (While browsing, this can be changed from the tools/settings menu.)
 38#load_stylesheets=YES
 39
 40# Change this if you want to disable parsing of embedded CSS initially.
 41# (While browsing, this can be changed from the tools/settings menu.)
 42#parse_embedded_css=YES
 43
 44# Change the buffering scheme for drawing
 45# 0 no double buffering - useful for debugging
 46# 1 light buffering using a single back buffer for all windows
 47# 2 full fltk-based double buffering for all windows
 48#buffered_drawing=1
 49
 50# Set your default directory for download/save operations
 51#save_dir=/tmp
 52
 53# Set the increment in pixels that the page is moved up/down with each input
 54# from the mouse wheel, keyboard arrow keys, or scrollbar arrow buttons.
 55#scroll_step=100
 56
 57# Controls the overlap in pixels when scrolling to the next or previous page.
 58# It is used to repeat the last line(s) to avoid losing the reading flow. It
 59# controls the overlap in both the vertical and horizontal directions.
 60#scroll_page_overlap=50
 61
 62# Place the vertical scrollbar on the left side (default right).
 63#scrollbar_on_left=NO
 64
 65# Enable the page mode for the vertical scrollbar. When this mode is enabled,
 66# clicking anywhere on the vertical scrollbar with the left button scrolls one
 67# page down. With the right button, one page up. Click with the middle button to
 68# jump to a given position.
 69#scrollbar_page_mode=NO
 70
 71# Define custom actions for the link menu. The format is <label>:<cmd>. The
 72# command will be executed in the system shell using the system() call. You can
 73# implement your own handling logic in a script or program. The following
 74# environment variables are set:
 75#   $url:       URL being opened
 76#   $origin:    URL of the current document
 77#   $DILLO_PID: PID of dillo process
 78# Examples:
 79# link_action="Debug variables:echo url=$url origin=$origin"
 80# link_action="Open in MPV:mpv $url"
 81# link_action="Open in Firefox:firefox $url"
 82
 83# Define custom actions for the page menu. The format is <label>:<cmd>. The
 84# command will be executed in the system shell using the system() call. You can
 85# implement your own handling logic in a script or program. The following
 86# environment variables are set:
 87#   $url:       URL of the current page
 88#   $DILLO_PID: PID of dillo process
 89# Examples:
 90# page_action="Reader mode:dilloc dump | rdrview -H | dilloc load"
 91# page_action="Mimic Chrome:curl_chrome136 -i --raw $url | dilloc rawload"
 92
 93#-------------------------------------------------------------------------
 94#                           RENDERING SECTION
 95#-------------------------------------------------------------------------
 96
 97# Default fonts:
 98#
 99# If FLTK has been configured with Xft enabled (the default), you can use
100# scalable fonts such as DejaVu or Liberation (try running
101# "fc-list : family | cut -d ',' -f 2 | sort").
102font_serif="Luxi Mono"
103font_sans_serif="Luxi Mono"
104font_cursive="Luxi Mono"
105font_fantasy="Luxi Mono"
106font_monospace="Luxi Mono"
107#
108# Otherwise, use bitmapped fonts like the following (for a list, try running
109# "xlsfonts -fn *-iso10646-1 | grep -v -e -0-0 | cut -d - -f 3 | sort | uniq").
110# font_serif="times"
111# font_sans_serif="helvetica"
112# font_cursive="helvetica"
113# font_fantasy="helvetica"
114# font_monospace="courier"
115
116# All font sizes are scaled by this value
117# font_factor=1.5
118#font_factor=1.0
119
120# Maximum font size in pixels
121#font_max_size=100
122
123# Minimum font size in pixels
124#font_min_size=6
125
126# Show tooltip popups for HTML title attributes
127#show_tooltip=YES
128
129# Set this to YES to limit the word wrap width to the viewport width
130#limit_text_width=NO
131
132# If this is set to YES, all CSS size specifications are adjusted so that
133# all contents can be displayed. (Except for tables, see below.)
134#adjust_min_width=YES
135
136# If this is set to YES, all CSS size specifications for tables are
137# adjusted so that all contents can be displayed. This is separated
138# from "adjust_min_width" so that it is able to mimic Firefox, which
139# differentiates between tables and, say, textblocks (in some cases).
140#adjust_table_min_width=YES
141
142# Sets the initial zoom factor, which scales the size of all HTML elements.
143# zoom_factor=1.5
144#zoom_factor=1.0
145
146#-------------------------------------------------------------------------
147#                               PENALTIES
148#-------------------------------------------------------------------------
149
150# Penalties are used to control good and bad break points. The bigger
151# the penalty for a given break point, the less likely the line is
152# broken here. "inf" means that breaking is prohibited, "-inf" means
153# that a line *must* be broken here. (The latter should not be used
154# here, however.) Normal spaces get a penalty of 0. The exact
155# definition can be found in doc/dw-line-breaking.doc.
156
157# Penalties for hyphenation breaks; this covers automatic hyphenation,
158# soft hyphens, and unconditional hyphens. Since hyphenation should
159# rather be avoided, the default values are larger than 0.
160
161# This is used for hyphenation points, when there is no hyphen or dash
162# before:
163#penalty_hyphen = 1
164
165# This is used for hyphenation points, when the line before ends
166# already with a hyphen or a dash. Consequent lines ending with
167# hyphens or dashes should be avoided, so this value is bigger than
168# "penalty_hyphen":
169#penalty_hyphen_2 = 8
170
171# The same for a break right of an em-dash, when there are no spaces
172# surrounding it (as in English). The default values are the same as
173# for hyphens:
174#penalty_em_dash_right = 1
175#penalty_em_dash_right_2 = 8
176
177# Penalty for a break *left* of an em-dash. Since a line ending with
178# an em-dash (and so breaking right of the em-dash) looks better than
179# a line beginning with an em-dash (breaking left of an em-dash), the
180# default value is bigger than "penalty_em_dash_right":
181#penalty_em_dash_left = 8
182
183# Notice that there is no "penalty_em_dash_left_2", since breaking
184# left of an em-dash makes the line *begin*, not *end* with a dash.
185
186# This factor is multiplied with the line height to get the
187# stretchability of a non-justified line. The larger this factor (and
188# thus, the stretchability), the less likely the words are hyphenated;
189# so you can use this value to control hyphenation of non-justified
190# text.
191#stretchability_factor=1
192
193
194#-------------------------------------------------------------------------
195#                            NETWORK SECTION
196#-------------------------------------------------------------------------
197
198# Set the start page.
199# start_page="about:blank"
200# start_page="https://dillo-browser.org/"
201# start_page="file:/home/jcid/custom_page.html"
202#start_page="about:splash"
203
204# Set the home location
205# home="file:/home/jcid/HomePage/Home.html"
206#home="https://dillo-browser.org/"
207
208# Set the new tab page.
209# new_tab_page="dpi:/bm/"
210# new_tab_page="https://example.com/"
211#new_tab_page="about:blank"
212
213# Set the URLs used by the web search dialog.
214# "%s" is replaced with the search keywords separated by '+'.
215# Format: search_url="[prefix ][<label> ]<url>"
216# You can enable multiple search_url strings at once and select from among
217# them at runtime, with the first being the default.
218# (the prefix serves to search from the Location Bar. e.g. "dd dillo image")
219search_url="dd DuckDuckGo https://duckduckgo.com/lite/?kp=-1&kd=-1&q=%s"
220search_url="wi Wikipedia https://www.wikipedia.org/w/index.php?search=%s&go=Go"
221search_url="di Free Dictionary https://www.thefreedictionary.com/%s"
222search_url="sp Startpage https://www.startpage.com/do/search?query=%s"
223search_url="mg Marginalia https://marginalia-search.com/search?query=%s"
224search_url="wb Wiby https://wiby.org/?q=%s"
225search_url="mj Mojeek https://www.mojeek.com/search?q=%s"
226
227# If set, dillo will ask web servers to send pages in this language.
228# This setting does NOT change dillo's user interface.
229# Format explained: www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4
230# Language-REGION values: www.iana.org/assignments/language-subtag-registry
231# (by default, no Accept-Language header is sent)
232# http_language="de"
233# http_language="pt-BR"
234# http_language="en-US,en;q=0.5"
235
236# Maximum number of simultaneous TCP connections to a single server or proxy.
237# http_max_conns=6
238
239# If enabled, Dillo will reuse HTTP connections to a server or proxy when
240# possible rather than making a new connection for every request for a new
241# page/image/stylesheet.
242#http_persistent_conns=YES
243
244# This mechanism allows servers to specify that they are only to be contacted
245# through HTTPS and not HTTP.
246#
247# Overall, this is a valuable security measure against TLS stripping
248# attacks, etc., but in principle a site could contrive to use this as a
249# tracking mechanism. The term is "HSTS super cookie", although note that these
250# HSTS directives are not saved between browser sessions.
251#http_strict_transport_security=YES
252
253# If enabled, Dillo will force all HTTP connections to be upgraded to
254# a more secure HTTPS connection. This will prevent sites from loading
255# if they only support HTTP.
256#http_force_https=NO
257
258# Set the proxy information for http/https.
259# Note that the http_proxy environment variable overrides this setting.
260# WARNING: FTP and downloads plugins use wget. To use a proxy with them,
261#          you will need to configure wget accordingly. See
262#          http://www.gnu.org/software/wget/manual/html_node/Proxies.html
263# http_proxy="http://localhost:8080/"
264#(by default, no proxy is used)
265
266# If you need to provide a  user/password pair for the proxy,
267# set the proxy user name here and Dillo will ask for the password later.
268# http_proxyuser="joe"
269#(by default, no proxy is used)
270
271# Set the domains to access without proxy
272# no_proxy = ".hola.com .mynet.cl .hi.de"
273#no_proxy="localhost 127.0.0.1"
274
275# Set the HTTP Referer (sic) header.
276# Note that there is no option to reveal the page that you came from because it
277# would endanger your privacy. 'host' and 'path' allow you to pretend that the
278# link you followed was on the same site that you're going to.
279# none  : Don't send any Referer header at all.
280# host  : Send the requested URI's hostname.
281# path  : Send the requested URI's host and path.
282#http_referer=host
283
284# Set the HTTP User-Agent header.
285# This can be useful for privacy and for working around servers who think
286# Dillo is less capable than it really is. However, if you pretend to use a
287# different browser, servers may send you pages that work with the features
288# and bugs of that other browser -- or even disallow access in cases like
289# wget or googlebot. Remember this before submitting bug reports.
290#
291# See http://zytrax.com/tech/web/browser_ids.htm for a compilation of strings.
292#
293# http_user_agent="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0"
294# http_user_agent="Wget/1.13.4 (linux-gnu)"
295#The default is "Dillo/"+current_version_number
296
297#-------------------------------------------------------------------------
298#                            COLORS SECTION
299#-------------------------------------------------------------------------
300
301# Set the page background color
302# bg_color=gray
303# bg_color=0xd6d6c0
304#bg_color=0xdcd1ba
305
306# If your eyes suffer with white backgrounds, change this.
307#allow_white_bg=YES
308
309# If allow_white_bg is set to NO, white backgrounds are replaced by
310# this color.
311#white_bg_replacement=0xe0e0a3
312
313# When set to YES, the page author's visited link color may be overridden
314# to allow better contrast with text/links/background
315#contrast_visited_color=YES
316
317
318#-------------------------------------------------------------------------
319#                        USER INTERFACE SECTION
320#-------------------------------------------------------------------------
321
322# UI theme
323# "none" is the default FLTK appearance, which "resembles old Windows...and
324# old GTK/KDE".
325# "plastic" "is inspired by the Aqua user interface on Mac OS X".
326# "gtk+" "is inspired by the Red Hat Bluecurve theme".
327#
328# If you have fltk-1.3.3 or newer, you can specify "gleam", which
329# is "a sort of Clearlooks Glossy scheme".  ("fltk-config --version")
330#theme=none
331# theme=gtk+
332# theme=plastic
333
334# UI colors
335# Note that FLTK may sometimes override colors, generally for contrast and
336# readability.
337#
338# ui_fg_color, ui_main_bg_color, ui_text_bg_color, and ui_selection_color
339# map to concepts in the underlying FLTK toolkit which are described as:
340# "the default foreground color...used for labels and text", "default
341# background color", "the default background color for text, list, and
342# valuator widgets", and "the default selection/highlight color". They
343# sometimes have other uses in the more complex FLTK widgets.
344#
345# ui_button_highlight_color is the background used when the mouse cursor is
346# over a button. By default, this is a lightened version of the main
347# background color.
348#
349# ui_tab_active_fg_color and ui_tab_active_bg_color are used for the current
350# tab. By default, they are the main foreground color and the text background
351# color, respectively.
352#
353# ui_tab_fg_color and ui_tab_bg_color are used for the other tabs. By default,
354# they are the main foreground color and the main background color,
355# respectively.
356#
357# ui_tab_height controls the height of the tabs (default 20).
358#
359# Note to packagers: leaving these variables for the system to guess
360# gives different results in different environments, so we played it safe
361# by defining the traditional colors.  Please choose the color theme that
362# better fits your distro.
363
364#
365# Gray theme (traditional)
366#
367ui_fg_color=black
368ui_main_bg_color=#c6c6c6
369ui_text_bg_color=#bfdabf
370ui_selection_color=#191970
371ui_button_highlight_color=#a9a9a9
372ui_tab_active_bg_color=#87aca7
373ui_tab_active_fg_color=black
374ui_tab_bg_color=#b7beb7
375
376#
377# Earthly theme:
378#
379#ui_fg_color=#100404
380#ui_main_bg_color=#c2a47b
381#ui_text_bg_color=#cdc9a5
382#ui_selection_color=#763024
383#ui_tab_active_bg_color=#af4b3f
384#ui_tab_active_fg_color=white
385#ui_tab_bg_color=#d2b48c
386
387#
388# Greenish theme:
389#
390#ui_fg_color=#100404
391#ui_main_bg_color=#c8d394
392#ui_text_bg_color=#bdd8b6
393#ui_selection_color=#7c5f42
394#ui_button_highlight_color=#adad70
395#ui_tab_active_bg_color=#b5b679
396#ui_tab_active_fg_color=#b60907
397#ui_tab_bg_color=#cac682
398
399
400# Size of dillo panel
401# tiny   : buttons, location, and progress boxes in one row
402# small  : location in one row, buttons + progress boxes in another
403# medium : adds text labels to buttons and boxes
404# panel_size=tiny
405# panel_size=small
406#panel_size=medium
407
408#small_icons=NO
409
410# Here you can choose to hide some widgets of the dillo panel...
411#show_back=YES
412#show_forw=YES
413#show_home=YES
414#show_reload=YES
415#show_save=YES
416#show_stop=YES
417#show_bookmarks=YES
418#show_tools=YES
419#show_filemenu=YES
420#show_clear_url=YES
421#show_url=YES
422#show_search=YES
423#show_help=YES
424#show_progress_box=YES
425
426# Show tooltip popups for the UI
427#show_ui_tooltip=YES
428
429# Start dillo with the panels hidden?
430#fullwindow_start=NO
431
432# When filling out forms, our default behaviour is to submit on enterpress,
433# but only when there's a single text entry (to avoid incomplete submits).
434# OTOH, if you have to fill out the same form repeatedly, you may find it
435# useful to keep away from the mouse by forcing enter to submit.
436#enterpress_forces_submit=NO
437
438# A mouse's middle click over a link opens a new Tab.
439# If you prefer to open a new Window instead, set it to NO.
440#middle_click_opens_new_tab=YES
441
442# A mouse's middle click over a tab closes the Tab.
443# With mousewheel mouses, right click feels way better (set to YES).
444#right_click_closes_tab=YES
445
446# Scroll over tabs (using the mouse wheel) to switch among tabs.
447# If set to NO, the page will be scrolled instead.
448#scroll_switches_tabs=YES
449
450# Reverse the direction of tab scrolling with mouse wheel.
451#scroll_switches_tabs_reverse=NO
452
453# Mouse middle click by default drives drag-scrolling.
454# To paste an URL into the window instead of scrolling, set it to NO.
455# Note: You could always paste the URL onto the URL box clear button.
456#middle_click_drags_page=YES
457
458# Focus follows new Tabs.
459# You can hold SHIFT to temporarily revert this behaviour.
460#focus_new_tab=NO
461
462# Ask before quitting Dillo with more than one window or tab open.
463#show_quit_dialog=NO
464
465#-------------------------------------------------------------------------
466#                        DEBUG MESSAGES SECTION
467#-------------------------------------------------------------------------
468
469# Soon we should add the "show_debug_messages=NO" option...
470
471# Generic messages (mainly for debugging specific parts)
472# Change this to disable them.
473#show_msg=YES
474#
475# Print HTTP traffic to stdout (before TLS encryption).
476# Useful for debugging but will print any user or password sent in forms!
477#trace_http=NO
478
479
480#-------------------------------------------------------------------------
481#                        HTML BUG MESSAGES SECTION
482#-------------------------------------------------------------------------
483
484# Accepted by the W3C validator but "strongly discouraged" by the SPEC.
485# (Such as "TAB character inside <PRE>").
486#show_extra_warnings=NO
487
488
489# -----------------------------------------------------------------------
490# dillorc ends here.