v0.27.0 dcb4c51

index.md RawHistoryFolder

Configuration Guide

Location: ~/.config/dumber/config.toml Formats: TOML (recommended), JSON, YAML

Database

Key Type Default Description
database.path string ~/.local/share/dumber/dumber.db Database file path

History

Key Type Default Valid Values Description
history.max_entries int 10000 > 0 Maximum number of history entries
history.retention_period_days int 365 > 0 Days to keep history (1 year)
history.cleanup_interval_days int 1 > 0 How often to run cleanup

Search Configuration

Key Type Default Description
default_search_engine string "https://duckduckgo.com/?q=%s" Default search engine URL template (must contain %s placeholder)
search_shortcuts map See defaults Map of shortcut aliases to URLs

Example:

# Default search engine - used when no shortcut is specified
default_search_engine = "https://duckduckgo.com/?q=%s"

# Alternative search engines:
# default_search_engine = "https://www.google.com/search?q=%s"
# default_search_engine = "https://www.startpage.com/search?q=%s"
# default_search_engine = "https://search.brave.com/search?q=%s"

Default shortcuts (usage: !shortcut query):

# Examples:
#   !ddg golang      → DuckDuckGo search for "golang"
#   !g rust tutorial → Google search for "rust tutorial"
#   !gi cats         → Google Images search for "cats"
#   !gh opencode     → GitHub search for "opencode"
#   !yt music video  → YouTube search for "music video"

[search_shortcuts.ddg]
url = "https://duckduckgo.com/?q=%s"
description = "DuckDuckGo search"

[search_shortcuts.g]
url = "https://google.com/search?q=%s"
description = "Google Search"

[search_shortcuts.gi]
url = "https://google.com/search?tbm=isch&q=%s"
description = "Google Images"

[search_shortcuts.gh]
url = "https://github.com/search?q=%s"
description = "GitHub"

[search_shortcuts.yt]
url = "https://youtube.com/results?search_query=%s"
description = "YouTube"

Dmenu / Launcher

These settings control the dumber dmenu CLI command for rofi/fuzzel integration.

Key Type Default Description
dmenu.max_history_days int 30 Number of days of history to show (0 = all)
dmenu.show_visit_count bool true Show visit counts in output
dmenu.show_last_visited bool true Show last visited dates in output
dmenu.history_prefix string "🕒" Prefix for history items
dmenu.shortcut_prefix string "🔍" Prefix for shortcuts
dmenu.url_prefix string "🌐" Prefix for URLs
dmenu.date_format string "2006-01-02 15:04" Go time format string
dmenu.sort_by_visit_count bool true Sort by visit count instead of recency

CLI Usage:

# Pipe mode (default) - outputs history for rofi/fuzzel with favicons
dumber dmenu | rofi -dmenu -show-icons -p "Browse: " | dumber dmenu --select
dumber dmenu | fuzzel --dmenu -p "Browse: " | dumber dmenu --select

# Interactive TUI mode
dumber dmenu --interactive

# Override history days via CLI flag (show last 7 days)
dumber dmenu --days 7

# Sort by most visited instead of recency
dumber dmenu --most-visited

# Combined: most visited from last 14 days
dumber dmenu --days 14 --most-visited

Omnibox

Key Type Default Valid Values Description
omnibox.initial_behavior string "recent" recent, most_visited, none Initial history display behavior
omnibox.auto_open_on_new_pane bool false - Automatically open the omnibox after creating a new pane

Example:

[omnibox]
initial_behavior = "recent"  # Show recent history when omnibox opens
auto_open_on_new_pane = false

# Alternative options:
# initial_behavior = "most_visited"  # Show most visited sites
# initial_behavior = "none"          # Show no initial suggestions

Logging

Key Type Default Valid Values Description
logging.level string "info" debug, info, warn, error Log level
logging.format string "text" text, json Log format
logging.max_age int 7 >= 0 Days to keep logs
logging.log_dir string ~/.local/state/dumber/logs/ any Log directory
logging.enable_file_log bool true - Enable file logging
logging.capture_console bool false - Capture browser console to logs
logging.capture_gtk_webkit_logs bool false - Capture GTK and WebKit logs for debugging

Appearance

Key Type Default Description
appearance.sans_font string "Fira Sans" Sans-serif font
appearance.serif_font string "Fira Sans" Serif font
appearance.monospace_font string "Fira Code" Monospace font
appearance.default_font_size int 16 Font size in points
appearance.color_scheme string "default" prefer-dark, prefer-light, default

Color Palettes

Light palette:

[appearance.light_palette]
background = "#f8f8f8"
surface = "#f2f2f2"
surface_variant = "#ececec"
text = "#1a1a1a"
muted = "#6e6e6e"
accent = "#404040"
border = "#d2d2d2"

Dark palette:

[appearance.dark_palette]
background = "#0e0e0e"
surface = "#1a1a1a"
surface_variant = "#141414"
text = "#e4e4e4"
muted = "#848484"
accent = "#a8a8a8"
border = "#363636"

Debug Options

Key Type Default Description
debug.enable_devtools bool true Enable browser developer tools (F12, Inspect Element)

Rendering, UI Scale & Zoom

Key Type Default Valid Values Description
rendering.mode string "gpu" auto, gpu, cpu WebKit hardware acceleration policy
rendering.disable_dmabuf_renderer bool false - Disable WebKit DMA-BUF renderer (may fix flicker on Wayland; slower)
rendering.force_compositing_mode bool false - Force WebKit compositing mode (WEBKIT_FORCE_COMPOSITING_MODE)
rendering.disable_compositing_mode bool false - Disable WebKit compositing mode (WEBKIT_DISABLE_COMPOSITING_MODE)
rendering.gsk_renderer string "auto" auto, opengl, vulkan, cairo GTK renderer selection (GSK_RENDERER)
rendering.disable_mipmaps bool false - Disable GTK mipmaps (GSK_GPU_DISABLE=mipmap)
rendering.prefer_gl bool false - Prefer OpenGL over GLES (GDK_DEBUG=gl-prefer-gl)
rendering.draw_compositing_indicators bool false - Draw WebKit compositing indicators (debug)
rendering.show_fps bool false - Show WebKit FPS counter (WEBKIT_SHOW_FPS)
rendering.sample_memory bool false - Enable WebKit memory sampling (WEBKIT_SAMPLE_MEMORY)
rendering.debug_frames bool false - Enable GTK frame timing debug (GDK_DEBUG=frames)
default_ui_scale float 1.0 > 0 GTK widget UI scale (1.0=100%, 2.0=200%)
default_webpage_zoom float 1.2 > 0 Default page zoom (1.0=100%, 1.2=120%)

Workspace Configuration

General

Key Type Default Description
workspace.new_pane_url string "about:blank" URL loaded for new panes/tabs (supports http(s)://, dumb://, file://, about:)
workspace.switch_to_tab_on_move bool true When moving a pane to another tab, automatically switch to the destination tab

Example:

[workspace]
new_pane_url = "dumb://home"

Pane Mode

Key Type Default Description
workspace.pane_mode.activation_shortcut string "ctrl+p" Pane mode activation key
workspace.pane_mode.timeout_ms int 3000 Pane mode timeout (ms)
workspace.pane_mode.actions map See below Action→keys mappings

Default pane mode actions:

[workspace.pane_mode.actions]
split-right = ["arrowright", "r"]
split-left = ["arrowleft", "l"]
split-up = ["arrowup", "u"]
split-down = ["arrowdown", "d"]
stack-pane = ["s"]
close-pane = ["x"]
move-pane-to-tab = ["m"]
move-pane-to-next-tab = ["M", "shift+m"]

# Consume-or-expel (niri-style) - very alpha
consume-or-expel-left = ["["]
consume-or-expel-right = ["]"]
consume-or-expel-up = ["{"]
consume-or-expel-down = ["}"]

focus-right = ["shift+arrowright", "shift+l"]
focus-left = ["shift+arrowleft", "shift+h"]
focus-up = ["shift+arrowup", "shift+k"]
focus-down = ["shift+arrowdown", "shift+j"]
confirm = ["enter"]
cancel = ["escape"]

Note: Actions are inverted to key→action map in memory for O(1) lookup performance during navigation.

Tab Mode

Key Type Default Description
workspace.tab_mode.activation_shortcut string "ctrl+t" Tab mode activation key
workspace.tab_mode.timeout_ms int 3000 Tab mode timeout (ms)
workspace.tab_mode.actions map See below Action→keys mappings

Default tab mode actions:

[workspace.tab_mode.actions]
new-tab = ["n", "c"]
close-tab = ["x"]
next-tab = ["l", "tab"]
previous-tab = ["h", "shift+tab"]
rename-tab = ["r"]
confirm = ["enter"]
cancel = ["escape"]

Note: Actions are inverted to key→action map in memory for O(1) lookup performance during navigation.

Resize Mode

Key Type Default Description
workspace.resize_mode.activation_shortcut string "ctrl+n" Resize mode activation key
workspace.resize_mode.timeout_ms int 3000 Resize mode timeout (ms)
workspace.resize_mode.step_percent float 5.0 Split ratio step per keystroke (percent)
workspace.resize_mode.min_pane_percent float 10.0 Minimum pane size (percent)
workspace.resize_mode.actions map See below Action→keys mappings

Default resize mode actions:

[workspace.resize_mode.actions]
resize-increase-left = ["h", "arrowleft"]
resize-increase-down = ["j", "arrowdown"]
resize-increase-up = ["k", "arrowup"]
resize-increase-right = ["l", "arrowright"]
resize-decrease-left = ["H"]
resize-decrease-down = ["J"]
resize-decrease-up = ["K"]
resize-decrease-right = ["L"]
resize-increase = ["+", "="]
resize-decrease = ["-"]
confirm = ["enter"]
cancel = ["escape"]

Notes:

  • Directional actions (resize-increase-*/resize-decrease-*) move the split divider.
  • Smart actions (resize-increase / resize-decrease) grow/shrink the active pane (best-effort) by picking a direction automatically.
  • Timeout is refreshed on each resize keypress so you can keep adjusting without re-entering the mode.

Global Shortcuts

Global shortcuts are configured under workspace.shortcuts.actions using the same ActionBinding structure as modal keybindings:

Action Default Keys Description
toggle_floating_pane alt+f Toggle the workspace floating pane (persistent session)
close_pane ctrl+w Close active pane (or release floating pane when floating is active)
next_tab ctrl+tab Switch to next tab
previous_tab ctrl+shift+tab Switch to previous tab
consume_or_expel_left alt+[ Consume into left sibling stack, or expel left if stacked
consume_or_expel_right alt+] Consume into right sibling stack, or expel right if stacked
consume_or_expel_up alt+{ Consume into upper sibling stack, or expel up if stacked
consume_or_expel_down alt+} Consume into lower sibling stack, or expel down if stacked

Example:

[workspace.shortcuts.actions.close_pane]
  keys = ["ctrl+w"]
  desc = "Close active pane"

[workspace.shortcuts.actions.next_tab]
  keys = ["ctrl+tab", "alt+l"]
  desc = "Switch to next tab"

[workspace.shortcuts.actions.toggle_floating_pane]
  keys = ["alt+f"]
  desc = "Toggle floating pane"

Tip: Use dumb://config → Keybindings tab to edit shortcuts visually.

Note: New tab creation uses modal tab mode (Ctrl+T then n/c). This follows the Zellij-style modal keyboard interface.

Note: Consume-or-expel is experimental and may change behavior between releases.

Warning: Some Alt+<key> shortcuts may conflict with WebKit defaults, website handlers, or your desktop environment. If a binding does not fire, rebind it to a different key.

Floating Pane

The floating workspace pane is a persistent overlay session: hiding it does not destroy its web content.

  • Default behavior includes exactly one floating shortcut: Alt+F (toggle_floating_pane).
  • URL shortcuts (for example Alt+G) are user-defined via workspace.floating_pane.profiles and are empty by default.
  • Alt+F toggles visibility only and preserves floating state.
  • Ctrl+W on an active floating pane closes and releases that floating session for a fresh next open.
  • Floating profile keybindings support modifier combos with ctrl, shift, and alt (for example ctrl+shift+y or ctrl+alt+m).
Key Type Default Description
workspace.floating_pane.width_pct float 0.82 Floating pane width as fraction of workspace width ((0,1])
workspace.floating_pane.height_pct float 0.72 Floating pane height as fraction of workspace height ((0,1])
workspace.floating_pane.profiles map {} Named URL profiles, each with keys[], url, optional desc

Example:

[workspace.shortcuts.actions.toggle_floating_pane]
keys = ["alt+f"]
desc = "Toggle floating pane"

[workspace.floating_pane]
width_pct = 0.82
height_pct = 0.72

[workspace.floating_pane.profiles]
# Empty by default. Add as many entries as needed.

[workspace.floating_pane.profiles.google]
keys = ["alt+g"]
url = "https://google.com"
desc = "Open floating pane on Google"

[workspace.floating_pane.profiles.github]
keys = ["alt+h"]
url = "https://github.com"
desc = "Open floating pane on GitHub"

Popup Behavior

Key Type Default Valid Values Description
workspace.popups.behavior string "split" split, stacked, tabbed, windowed Popup opening mode
workspace.popups.placement string "right" right, left, top, bottom Split direction
workspace.popups.open_in_new_pane bool true - Open popups in workspace
workspace.popups.follow_pane_context bool true - Follow parent pane context
workspace.popups.blank_target_behavior string "pane" pane, tab _blank target handling
workspace.popups.enable_smart_detection bool true - Use WindowProperties for detection
workspace.popups.oauth_auto_close bool true - Auto-close OAuth popups

Workspace Styling

Key Type Default Description
workspace.styling.border_width int 1 Active pane border width (px) - overlay
workspace.styling.border_color string "@theme_selected_bg_color" Active pane border color
workspace.styling.mode_border_width int 4 Modal mode border width (px) - applies to all modes
workspace.styling.pane_mode_color string "#4A90E2" Pane mode color (blue) - used for border and toaster
workspace.styling.tab_mode_color string "#FFA500" Tab mode color (orange) - used for border and toaster
workspace.styling.session_mode_color string "#9B59B6" Session mode color (purple) - used for border and toaster
workspace.styling.resize_mode_color string "#00D4AA" Resize mode color (teal) - used for border and toaster
workspace.styling.mode_indicator_toaster_enabled bool true Show toaster notification when modal modes are active
workspace.styling.transition_duration int 120 Border transition duration (ms)

Example:

[workspace.styling]
border_width = 1
border_color = "@theme_selected_bg_color"
mode_border_width = 4
pane_mode_color = "#4A90E2"      # Blue for pane mode
tab_mode_color = "#FFA500"       # Orange for tab mode
session_mode_color = "#9B59B6"   # Purple for session mode
resize_mode_color = "#00D4AA"    # Teal for resize mode
mode_indicator_toaster_enabled = true
transition_duration = 120

Session

Key Type Default Description
session.auto_restore bool false Automatically restore the last session on startup
session.snapshot_interval_ms int 5000 Minimum interval between snapshots in milliseconds
session.max_exited_sessions int 50 Maximum number of exited sessions to keep
session.max_exited_session_age_days int 7 Maximum age in days for exited sessions (auto-deleted on startup)

Session Mode

Key Type Default Description
session.session_mode.activation_shortcut string "ctrl+o" Session mode activation key
session.session_mode.timeout_ms int 3000 Session mode timeout (ms)
session.session_mode.actions map See below Action to keys mappings

Default session mode actions:

[session.session_mode.actions]
session-manager = ["s", "w"]
confirm = ["enter"]
cancel = ["escape"]

Example:

[session]
auto_restore = false              # Don't auto-restore on startup
snapshot_interval_ms = 5000       # Save state every 5 seconds (debounced)
max_exited_sessions = 50          # Keep last 50 exited sessions
max_exited_session_age_days = 7   # Delete sessions older than 7 days on startup

Media

Key Type Default Valid Values Description
media.hardware_decoding string "auto" auto, force, disable Hardware video decoding mode
media.prefer_av1 bool false - Prefer AV1 codec when available
media.show_diagnostics bool false - Show media diagnostics warnings at startup
media.force_vsync bool false - Force VSync for video playback (may help with tearing)
media.gl_rendering_mode string "auto" auto, gles2, gl3, none OpenGL API selection for video rendering
media.gstreamer_debug_level int 0 0-5 GStreamer debug verbosity (0=off)

Hardware decoding modes:

  • auto (recommended): Hardware preferred with software fallback - fixes Twitch Error #4000
  • force: Hardware only - fails if unavailable
  • disable: Software only - higher CPU usage

GL rendering modes:

  • auto (default): Let GStreamer choose the best OpenGL API
  • gles2: Force GLES2 (better for some mobile/embedded GPUs)
  • gl3: Force OpenGL 3.x desktop
  • none: Disable GL-based rendering

GPU auto-detection: Dumber automatically detects your GPU vendor (AMD/Intel/NVIDIA) and sets optimal VA-API driver settings:

  • AMD: Uses radeonsi driver
  • Intel: Uses iHD driver (modern, for Broadwell+)
  • NVIDIA: Uses nvidia driver with EGL platform

Example:

[media]
hardware_decoding = "auto"    # HW preferred, SW fallback
prefer_av1 = false            # Let site choose codec
show_diagnostics = false      # Keep off for daily use
force_vsync = false           # Let compositor handle VSync
gl_rendering_mode = "auto"    # GStreamer picks best GL API
gstreamer_debug_level = 0     # Increase to 3-5 for debugging

Diagnostic mode toggle path:

# ~/.config/dumber/config.toml
[media]
show_diagnostics = true
gstreamer_debug_level = 3

Set show_diagnostics = false and gstreamer_debug_level = 0 to return to normal mode.

Diagnostics CLI:

# Check GStreamer plugins and VA-API status
dumber doctor --media

Runtime

Key Type Default Description
runtime.prefix string "" Optional runtime prefix (e.g., /opt/webkitgtk) used to locate newer GTK/WebKitGTK installs

If set, dumber prepends prefix-derived paths to:

  • PKG_CONFIG_PATH (for version checks)
  • LD_LIBRARY_PATH (for runtime library loading)
  • GI_TYPELIB_PATH (GObject introspection)
  • XDG_DATA_DIRS (schemas/resources)

Example:

[runtime]
prefix = "/opt/webkitgtk"

Clipboard

Key Type Default Description
clipboard.auto_copy_on_selection bool true Automatically copy selected text to clipboard (zellij/tmux-style)

When enabled, selecting text in a web page immediately copies it to the clipboard with a brief toast notification. Does not apply to text selection in input fields or textareas.

Example:

[clipboard]
auto_copy_on_selection = true  # Enabled by default

Content Filtering

Key Type Default Description
content_filtering.enabled bool true Enable ad blocking
content_filtering.auto_update bool true Automatically update filters

Notes:

  • Filter data is downloaded from bnema/ublock-webkit-filters GitHub releases.
  • Domain whitelist is managed via the database (content_whitelist table), not the config file.

Update

Key Type Default Description
update.enable_on_startup bool true Check for updates when browser starts
update.auto_download bool false Automatically download updates in background
update.notify_on_new_settings bool true Show toast notification when new config settings are available

Example:

[update]
enable_on_startup = true       # Check for updates on startup
auto_download = false          # Don't auto-download (prompt instead)
notify_on_new_settings = true  # Show toast when config migration available

CLI Commands:

# Check config status and available migrations
dumber config status

# Add missing settings with default values
dumber config migrate

# Skip confirmation prompt
dumber config migrate --yes

Performance Profiles

Performance profiles provide preset configurations for WebKitGTK tuning. These settings affect Skia rendering threads, memory pressure handling, and WebView pool behavior.

Note: Performance settings are applied at browser startup. Changes require a restart to take effect.

Key Type Default Valid Values Description
performance.profile string "default" default, lite, max, custom Performance profile selection

Profiles

Profile Description Use Case
default No tuning, uses WebKit defaults Compatibility baseline, troubleshooting
lite Reduced resource usage Low-RAM systems (< 4GB), battery saving
max Maximum responsiveness Heavy pages (GitHub PRs, complex SPAs), high-end systems
custom Manual control over all settings Advanced users who want fine-grained control

Profile Settings Matrix

Setting default lite max
Skia CPU threads unset 2 NumCPU()/2 (min 4)
Skia GPU threads unset unset scales with VRAM
Web process memory (MB) unset 768 unset
Network process memory (MB) unset 384 unset
Conservative threshold unset 0.25 unset
Strict threshold unset 0.4 unset
WebView pool prewarm 4 2 scales with RAM

Example:

[performance]
profile = "default"  # WebKit baseline default

# For WebKit baseline behavior:
# profile = "default"

# For heavy pages (GitHub PRs, complex web apps):
# profile = "max"

# For manual control:
# profile = "custom"

Custom Profile Settings

When profile = "custom", you can configure individual tuning options:

Key Type Default Description
performance.skia_cpu_painting_threads int 0 Skia CPU rendering threads (0=unset)
performance.skia_gpu_painting_threads int -1 Skia GPU rendering threads (-1=unset, 0=disable)
performance.skia_enable_cpu_rendering bool false Force CPU rendering
performance.web_process_memory_limit_mb int 0 Web process memory limit in MB (0=unset)
performance.web_process_memory_poll_interval_sec float 0 Memory check interval (0=WebKit default: 30s)
performance.web_process_memory_conservative_threshold float 0 Conservative cleanup threshold (0=unset)
performance.web_process_memory_strict_threshold float 0 Strict cleanup threshold (0=unset)
performance.network_process_memory_limit_mb int 0 Network process memory limit in MB
performance.network_process_memory_poll_interval_sec float 0 Network memory check interval
performance.network_process_memory_conservative_threshold float 0 Network conservative threshold
performance.network_process_memory_strict_threshold float 0 Network strict threshold
performance.webview_pool_prewarm_count int 4 WebViews to pre-create at startup
performance.zoom_cache_size int 256 Domain zoom levels to cache

Custom profile example:

[performance]
profile = "custom"

# Skia threading - tune for your CPU
skia_cpu_painting_threads = 4
skia_gpu_painting_threads = 2

# Web process memory pressure
web_process_memory_limit_mb = 1024
web_process_memory_conservative_threshold = 0.4
web_process_memory_strict_threshold = 0.6

# WebView pool
webview_pool_prewarm_count = 6

Important: Individual tuning fields are ignored unless profile = "custom". Setting individual fields with any other profile will produce a validation warning.

Downloads

Key Type Default Description
downloads.path string "" Download directory path (empty = $XDG_DOWNLOAD_DIR or ~/Downloads)

Downloads are saved to the configured directory with toast notifications for download started, completed, and failed events.

Example:

[downloads]
path = ""  # Use system default ($XDG_DOWNLOAD_DIR or ~/Downloads)

# Or specify a custom directory:
# path = "/home/user/my-downloads"

Environment Variables

All config values can be overridden via environment variables with the prefix DUMBER_:

# Database
DUMBER_DATABASE_PATH=/custom/path/db.sqlite

# Rendering (examples)
# Defaults: rendering.disable_dmabuf_renderer=false, rendering.gsk_renderer="auto"
DUMBER_RENDERING_MODE=cpu
# DUMBER_RENDERING_DISABLE_DMABUF_RENDERER=true
# DUMBER_RENDERING_GSK_RENDERER=opengl
DUMBER_DEFAULT_WEBPAGE_ZOOM=1.5

# Logging
DUMBER_LOG_LEVEL=debug
DUMBER_LOG_FORMAT=json
source
1# Configuration Guide
2
3**Location**: `~/.config/dumber/config.toml`
4**Formats**: TOML (recommended), JSON, YAML
5
6## Database
7
8| Key | Type | Default | Description |
9|-----|------|---------|-------------|
10| `database.path` | string | `~/.local/share/dumber/dumber.db` | Database file path |
11
12## History
13
14| Key | Type | Default | Valid Values | Description |
15|-----|------|---------|--------------|-------------|
16| `history.max_entries` | int | `10000` | > 0 | Maximum number of history entries |
17| `history.retention_period_days` | int | `365` | > 0 | Days to keep history (1 year) |
18| `history.cleanup_interval_days` | int | `1` | > 0 | How often to run cleanup |
19
20## Search Configuration
21
22| Key | Type | Default | Description |
23|-----|------|---------|-------------|
24| `default_search_engine` | string | `"https://duckduckgo.com/?q=%s"` | Default search engine URL template (must contain `%s` placeholder) |
25| `search_shortcuts` | map | See defaults | Map of shortcut aliases to URLs |
26
27**Example:**
28```toml
29# Default search engine - used when no shortcut is specified
30default_search_engine = "https://duckduckgo.com/?q=%s"
31
32# Alternative search engines:
33# default_search_engine = "https://www.google.com/search?q=%s"
34# default_search_engine = "https://www.startpage.com/search?q=%s"
35# default_search_engine = "https://search.brave.com/search?q=%s"
36```
37
38**Default shortcuts (usage: `!shortcut query`):**
39```toml
40# Examples:
41#   !ddg golang      → DuckDuckGo search for "golang"
42#   !g rust tutorial → Google search for "rust tutorial"
43#   !gi cats         → Google Images search for "cats"
44#   !gh opencode     → GitHub search for "opencode"
45#   !yt music video  → YouTube search for "music video"
46
47[search_shortcuts.ddg]
48url = "https://duckduckgo.com/?q=%s"
49description = "DuckDuckGo search"
50
51[search_shortcuts.g]
52url = "https://google.com/search?q=%s"
53description = "Google Search"
54
55[search_shortcuts.gi]
56url = "https://google.com/search?tbm=isch&q=%s"
57description = "Google Images"
58
59[search_shortcuts.gh]
60url = "https://github.com/search?q=%s"
61description = "GitHub"
62
63[search_shortcuts.yt]
64url = "https://youtube.com/results?search_query=%s"
65description = "YouTube"
66```
67
68## Dmenu / Launcher
69
70These settings control the `dumber dmenu` CLI command for rofi/fuzzel integration.
71
72| Key | Type | Default | Description |
73|-----|------|---------|-------------|
74| `dmenu.max_history_days` | int | `30` | Number of days of history to show (0 = all) |
75| `dmenu.show_visit_count` | bool | `true` | Show visit counts in output |
76| `dmenu.show_last_visited` | bool | `true` | Show last visited dates in output |
77| `dmenu.history_prefix` | string | `"🕒"` | Prefix for history items |
78| `dmenu.shortcut_prefix` | string | `"🔍"` | Prefix for shortcuts |
79| `dmenu.url_prefix` | string | `"🌐"` | Prefix for URLs |
80| `dmenu.date_format` | string | `"2006-01-02 15:04"` | Go time format string |
81| `dmenu.sort_by_visit_count` | bool | `true` | Sort by visit count instead of recency |
82
83**CLI Usage:**
84```bash
85# Pipe mode (default) - outputs history for rofi/fuzzel with favicons
86dumber dmenu | rofi -dmenu -show-icons -p "Browse: " | dumber dmenu --select
87dumber dmenu | fuzzel --dmenu -p "Browse: " | dumber dmenu --select
88
89# Interactive TUI mode
90dumber dmenu --interactive
91
92# Override history days via CLI flag (show last 7 days)
93dumber dmenu --days 7
94
95# Sort by most visited instead of recency
96dumber dmenu --most-visited
97
98# Combined: most visited from last 14 days
99dumber dmenu --days 14 --most-visited
100```
101
102## Omnibox
103
104| Key | Type | Default | Valid Values | Description |
105|-----|------|---------|--------------|-------------|
106| `omnibox.initial_behavior` | string | `"recent"` | `recent`, `most_visited`, `none` | Initial history display behavior |
107| `omnibox.auto_open_on_new_pane` | bool | `false` | - | Automatically open the omnibox after creating a new pane |
108
109**Example:**
110```toml
111[omnibox]
112initial_behavior = "recent"  # Show recent history when omnibox opens
113auto_open_on_new_pane = false
114
115# Alternative options:
116# initial_behavior = "most_visited"  # Show most visited sites
117# initial_behavior = "none"          # Show no initial suggestions
118```
119
120## Logging
121
122| Key | Type | Default | Valid Values | Description |
123|-----|------|---------|--------------|-------------|
124| `logging.level` | string | `"info"` | `debug`, `info`, `warn`, `error` | Log level |
125| `logging.format` | string | `"text"` | `text`, `json` | Log format |
126| `logging.max_age` | int | `7` | >= 0 | Days to keep logs |
127| `logging.log_dir` | string | `~/.local/state/dumber/logs/` | any | Log directory |
128| `logging.enable_file_log` | bool | `true` | - | Enable file logging |
129| `logging.capture_console` | bool | `false` | - | Capture browser console to logs |
130| `logging.capture_gtk_webkit_logs` | bool | `false` | - | Capture GTK and WebKit logs for debugging |
131
132## Appearance
133
134| Key | Type | Default | Description |
135|-----|------|---------|-------------|
136| `appearance.sans_font` | string | `"Fira Sans"` | Sans-serif font |
137| `appearance.serif_font` | string | `"Fira Sans"` | Serif font |
138| `appearance.monospace_font` | string | `"Fira Code"` | Monospace font |
139| `appearance.default_font_size` | int | `16` | Font size in points |
140| `appearance.color_scheme` | string | `"default"` | `prefer-dark`, `prefer-light`, `default` |
141
142### Color Palettes
143
144**Light palette:**
145```toml
146[appearance.light_palette]
147background = "#f8f8f8"
148surface = "#f2f2f2"
149surface_variant = "#ececec"
150text = "#1a1a1a"
151muted = "#6e6e6e"
152accent = "#404040"
153border = "#d2d2d2"
154```
155
156**Dark palette:**
157```toml
158[appearance.dark_palette]
159background = "#0e0e0e"
160surface = "#1a1a1a"
161surface_variant = "#141414"
162text = "#e4e4e4"
163muted = "#848484"
164accent = "#a8a8a8"
165border = "#363636"
166```
167
168## Debug Options
169
170| Key | Type | Default | Description |
171|-----|------|---------|-------------|
172| `debug.enable_devtools` | bool | `true` | Enable browser developer tools (F12, Inspect Element) |
173
174## Rendering, UI Scale & Zoom
175
176| Key | Type | Default | Valid Values | Description |
177|-----|------|---------|--------------|-------------|
178| `rendering.mode` | string | `"gpu"` | `auto`, `gpu`, `cpu` | WebKit hardware acceleration policy |
179| `rendering.disable_dmabuf_renderer` | bool | `false` | - | Disable WebKit DMA-BUF renderer (may fix flicker on Wayland; slower) |
180| `rendering.force_compositing_mode` | bool | `false` | - | Force WebKit compositing mode (`WEBKIT_FORCE_COMPOSITING_MODE`) |
181| `rendering.disable_compositing_mode` | bool | `false` | - | Disable WebKit compositing mode (`WEBKIT_DISABLE_COMPOSITING_MODE`) |
182| `rendering.gsk_renderer` | string | `"auto"` | `auto`, `opengl`, `vulkan`, `cairo` | GTK renderer selection (`GSK_RENDERER`) |
183| `rendering.disable_mipmaps` | bool | `false` | - | Disable GTK mipmaps (`GSK_GPU_DISABLE=mipmap`) |
184| `rendering.prefer_gl` | bool | `false` | - | Prefer OpenGL over GLES (`GDK_DEBUG=gl-prefer-gl`) |
185| `rendering.draw_compositing_indicators` | bool | `false` | - | Draw WebKit compositing indicators (debug) |
186| `rendering.show_fps` | bool | `false` | - | Show WebKit FPS counter (`WEBKIT_SHOW_FPS`) |
187| `rendering.sample_memory` | bool | `false` | - | Enable WebKit memory sampling (`WEBKIT_SAMPLE_MEMORY`) |
188| `rendering.debug_frames` | bool | `false` | - | Enable GTK frame timing debug (`GDK_DEBUG=frames`) |
189| `default_ui_scale` | float | `1.0` | > 0 | GTK widget UI scale (1.0=100%, 2.0=200%) |
190| `default_webpage_zoom` | float | `1.2` | > 0 | Default page zoom (1.0=100%, 1.2=120%) |
191
192## Workspace Configuration
193
194### General
195
196| Key | Type | Default | Description |
197|-----|------|---------|-------------|
198| `workspace.new_pane_url` | string | `"about:blank"` | URL loaded for new panes/tabs (supports `http(s)://`, `dumb://`, `file://`, `about:`) |
199| `workspace.switch_to_tab_on_move` | bool | `true` | When moving a pane to another tab, automatically switch to the destination tab |
200
201**Example:**
202```toml
203[workspace]
204new_pane_url = "dumb://home"
205```
206
207### Pane Mode
208
209| Key | Type | Default | Description |
210|-----|------|---------|-------------|
211| `workspace.pane_mode.activation_shortcut` | string | `"ctrl+p"` | Pane mode activation key |
212| `workspace.pane_mode.timeout_ms` | int | `3000` | Pane mode timeout (ms) |
213| `workspace.pane_mode.actions` | map | See below | Action→keys mappings |
214
215**Default pane mode actions:**
216```toml
217[workspace.pane_mode.actions]
218split-right = ["arrowright", "r"]
219split-left = ["arrowleft", "l"]
220split-up = ["arrowup", "u"]
221split-down = ["arrowdown", "d"]
222stack-pane = ["s"]
223close-pane = ["x"]
224move-pane-to-tab = ["m"]
225move-pane-to-next-tab = ["M", "shift+m"]
226
227# Consume-or-expel (niri-style) - very alpha
228consume-or-expel-left = ["["]
229consume-or-expel-right = ["]"]
230consume-or-expel-up = ["{"]
231consume-or-expel-down = ["}"]
232
233focus-right = ["shift+arrowright", "shift+l"]
234focus-left = ["shift+arrowleft", "shift+h"]
235focus-up = ["shift+arrowup", "shift+k"]
236focus-down = ["shift+arrowdown", "shift+j"]
237confirm = ["enter"]
238cancel = ["escape"]
239```
240
241> **Note:** Actions are inverted to key→action map in memory for O(1) lookup performance during navigation.
242
243### Tab Mode
244
245| Key | Type | Default | Description |
246|-----|------|---------|-------------|
247| `workspace.tab_mode.activation_shortcut` | string | `"ctrl+t"` | Tab mode activation key |
248| `workspace.tab_mode.timeout_ms` | int | `3000` | Tab mode timeout (ms) |
249| `workspace.tab_mode.actions` | map | See below | Action→keys mappings |
250
251**Default tab mode actions:**
252```toml
253[workspace.tab_mode.actions]
254new-tab = ["n", "c"]
255close-tab = ["x"]
256next-tab = ["l", "tab"]
257previous-tab = ["h", "shift+tab"]
258rename-tab = ["r"]
259confirm = ["enter"]
260cancel = ["escape"]
261```
262
263> **Note:** Actions are inverted to key→action map in memory for O(1) lookup performance during navigation.
264
265### Resize Mode
266
267| Key | Type | Default | Description |
268|-----|------|---------|-------------|
269| `workspace.resize_mode.activation_shortcut` | string | `"ctrl+n"` | Resize mode activation key |
270| `workspace.resize_mode.timeout_ms` | int | `3000` | Resize mode timeout (ms) |
271| `workspace.resize_mode.step_percent` | float | `5.0` | Split ratio step per keystroke (percent) |
272| `workspace.resize_mode.min_pane_percent` | float | `10.0` | Minimum pane size (percent) |
273| `workspace.resize_mode.actions` | map | See below | Action→keys mappings |
274
275**Default resize mode actions:**
276```toml
277[workspace.resize_mode.actions]
278resize-increase-left = ["h", "arrowleft"]
279resize-increase-down = ["j", "arrowdown"]
280resize-increase-up = ["k", "arrowup"]
281resize-increase-right = ["l", "arrowright"]
282resize-decrease-left = ["H"]
283resize-decrease-down = ["J"]
284resize-decrease-up = ["K"]
285resize-decrease-right = ["L"]
286resize-increase = ["+", "="]
287resize-decrease = ["-"]
288confirm = ["enter"]
289cancel = ["escape"]
290```
291
292Notes:
293- Directional actions (`resize-increase-*/resize-decrease-*`) move the split divider.
294- Smart actions (`resize-increase` / `resize-decrease`) grow/shrink the active pane (best-effort) by picking a direction automatically.
295- Timeout is refreshed on each resize keypress so you can keep adjusting without re-entering the mode.
296
297### Global Shortcuts
298
299Global shortcuts are configured under `workspace.shortcuts.actions` using the same `ActionBinding` structure as modal keybindings:
300
301| Action | Default Keys | Description |
302|--------|--------------|-------------|
303| `toggle_floating_pane` | `alt+f` | Toggle the workspace floating pane (persistent session) |
304| `close_pane` | `ctrl+w` | Close active pane (or release floating pane when floating is active) |
305| `next_tab` | `ctrl+tab` | Switch to next tab |
306| `previous_tab` | `ctrl+shift+tab` | Switch to previous tab |
307| `consume_or_expel_left` | `alt+[` | Consume into left sibling stack, or expel left if stacked |
308| `consume_or_expel_right` | `alt+]` | Consume into right sibling stack, or expel right if stacked |
309| `consume_or_expel_up` | `alt+{` | Consume into upper sibling stack, or expel up if stacked |
310| `consume_or_expel_down` | `alt+}` | Consume into lower sibling stack, or expel down if stacked |
311
312**Example:**
313```toml
314[workspace.shortcuts.actions.close_pane]
315  keys = ["ctrl+w"]
316  desc = "Close active pane"
317
318[workspace.shortcuts.actions.next_tab]
319  keys = ["ctrl+tab", "alt+l"]
320  desc = "Switch to next tab"
321
322[workspace.shortcuts.actions.toggle_floating_pane]
323  keys = ["alt+f"]
324  desc = "Toggle floating pane"
325```
326
327> **Tip:** Use `dumb://config` → Keybindings tab to edit shortcuts visually.
328>
329> **Note:** New tab creation uses modal tab mode (Ctrl+T then n/c). This follows the Zellij-style modal keyboard interface.
330>
331> **Note:** Consume-or-expel is experimental and may change behavior between releases.
332>
333> **Warning:** Some `Alt+<key>` shortcuts may conflict with WebKit defaults, website handlers, or your desktop environment.
334> If a binding does not fire, rebind it to a different key.
335
336### Floating Pane
337
338The floating workspace pane is a persistent overlay session: hiding it does not destroy its web content.
339
340- Default behavior includes exactly one floating shortcut: `Alt+F` (`toggle_floating_pane`).
341- URL shortcuts (for example `Alt+G`) are user-defined via `workspace.floating_pane.profiles` and are empty by default.
342- `Alt+F` toggles visibility only and preserves floating state.
343- `Ctrl+W` on an active floating pane closes and releases that floating session for a fresh next open.
344- Floating profile keybindings support modifier combos with `ctrl`, `shift`, and `alt` (for example `ctrl+shift+y` or `ctrl+alt+m`).
345
346| Key | Type | Default | Description |
347|-----|------|---------|-------------|
348| `workspace.floating_pane.width_pct` | float | `0.82` | Floating pane width as fraction of workspace width (`(0,1]`) |
349| `workspace.floating_pane.height_pct` | float | `0.72` | Floating pane height as fraction of workspace height (`(0,1]`) |
350| `workspace.floating_pane.profiles` | map | `{}` | Named URL profiles, each with `keys[]`, `url`, optional `desc` |
351
352**Example:**
353
354```toml
355[workspace.shortcuts.actions.toggle_floating_pane]
356keys = ["alt+f"]
357desc = "Toggle floating pane"
358
359[workspace.floating_pane]
360width_pct = 0.82
361height_pct = 0.72
362
363[workspace.floating_pane.profiles]
364# Empty by default. Add as many entries as needed.
365
366[workspace.floating_pane.profiles.google]
367keys = ["alt+g"]
368url = "https://google.com"
369desc = "Open floating pane on Google"
370
371[workspace.floating_pane.profiles.github]
372keys = ["alt+h"]
373url = "https://github.com"
374desc = "Open floating pane on GitHub"
375```
376
377### Popup Behavior
378
379| Key | Type | Default | Valid Values | Description |
380|-----|------|---------|--------------|-------------|
381| `workspace.popups.behavior` | string | `"split"` | `split`, `stacked`, `tabbed`, `windowed` | Popup opening mode |
382| `workspace.popups.placement` | string | `"right"` | `right`, `left`, `top`, `bottom` | Split direction |
383| `workspace.popups.open_in_new_pane` | bool | `true` | - | Open popups in workspace |
384| `workspace.popups.follow_pane_context` | bool | `true` | - | Follow parent pane context |
385| `workspace.popups.blank_target_behavior` | string | `"pane"` | `pane`, `tab` | `_blank` target handling |
386| `workspace.popups.enable_smart_detection` | bool | `true` | - | Use WindowProperties for detection |
387| `workspace.popups.oauth_auto_close` | bool | `true` | - | Auto-close OAuth popups |
388
389### Workspace Styling
390
391| Key | Type | Default | Description |
392|-----|------|---------|-------------|
393| `workspace.styling.border_width` | int | `1` | Active pane border width (px) - overlay |
394| `workspace.styling.border_color` | string | `"@theme_selected_bg_color"` | Active pane border color |
395| `workspace.styling.mode_border_width` | int | `4` | Modal mode border width (px) - applies to all modes |
396| `workspace.styling.pane_mode_color` | string | `"#4A90E2"` | Pane mode color (blue) - used for border and toaster |
397| `workspace.styling.tab_mode_color` | string | `"#FFA500"` | Tab mode color (orange) - used for border and toaster |
398| `workspace.styling.session_mode_color` | string | `"#9B59B6"` | Session mode color (purple) - used for border and toaster |
399| `workspace.styling.resize_mode_color` | string | `"#00D4AA"` | Resize mode color (teal) - used for border and toaster |
400| `workspace.styling.mode_indicator_toaster_enabled` | bool | `true` | Show toaster notification when modal modes are active |
401| `workspace.styling.transition_duration` | int | `120` | Border transition duration (ms) |
402
403**Example:**
404```toml
405[workspace.styling]
406border_width = 1
407border_color = "@theme_selected_bg_color"
408mode_border_width = 4
409pane_mode_color = "#4A90E2"      # Blue for pane mode
410tab_mode_color = "#FFA500"       # Orange for tab mode
411session_mode_color = "#9B59B6"   # Purple for session mode
412resize_mode_color = "#00D4AA"    # Teal for resize mode
413mode_indicator_toaster_enabled = true
414transition_duration = 120
415```
416
417## Session
418
419| Key | Type | Default | Description |
420|-----|------|---------|-------------|
421| `session.auto_restore` | bool | `false` | Automatically restore the last session on startup |
422| `session.snapshot_interval_ms` | int | `5000` | Minimum interval between snapshots in milliseconds |
423| `session.max_exited_sessions` | int | `50` | Maximum number of exited sessions to keep |
424| `session.max_exited_session_age_days` | int | `7` | Maximum age in days for exited sessions (auto-deleted on startup) |
425
426### Session Mode
427
428| Key | Type | Default | Description |
429|-----|------|---------|-------------|
430| `session.session_mode.activation_shortcut` | string | `"ctrl+o"` | Session mode activation key |
431| `session.session_mode.timeout_ms` | int | `3000` | Session mode timeout (ms) |
432| `session.session_mode.actions` | map | See below | Action to keys mappings |
433
434**Default session mode actions:**
435```toml
436[session.session_mode.actions]
437session-manager = ["s", "w"]
438confirm = ["enter"]
439cancel = ["escape"]
440```
441
442**Example:**
443```toml
444[session]
445auto_restore = false              # Don't auto-restore on startup
446snapshot_interval_ms = 5000       # Save state every 5 seconds (debounced)
447max_exited_sessions = 50          # Keep last 50 exited sessions
448max_exited_session_age_days = 7   # Delete sessions older than 7 days on startup
449```
450
451## Media
452
453| Key | Type | Default | Valid Values | Description |
454|-----|------|---------|--------------|-------------|
455| `media.hardware_decoding` | string | `"auto"` | `auto`, `force`, `disable` | Hardware video decoding mode |
456| `media.prefer_av1` | bool | `false` | - | Prefer AV1 codec when available |
457| `media.show_diagnostics` | bool | `false` | - | Show media diagnostics warnings at startup |
458| `media.force_vsync` | bool | `false` | - | Force VSync for video playback (may help with tearing) |
459| `media.gl_rendering_mode` | string | `"auto"` | `auto`, `gles2`, `gl3`, `none` | OpenGL API selection for video rendering |
460| `media.gstreamer_debug_level` | int | `0` | `0-5` | GStreamer debug verbosity (0=off) |
461
462**Hardware decoding modes:**
463- `auto` (recommended): Hardware preferred with software fallback - fixes Twitch Error #4000
464- `force`: Hardware only - fails if unavailable
465- `disable`: Software only - higher CPU usage
466
467**GL rendering modes:**
468- `auto` (default): Let GStreamer choose the best OpenGL API
469- `gles2`: Force GLES2 (better for some mobile/embedded GPUs)
470- `gl3`: Force OpenGL 3.x desktop
471- `none`: Disable GL-based rendering
472
473**GPU auto-detection:**
474Dumber automatically detects your GPU vendor (AMD/Intel/NVIDIA) and sets optimal VA-API driver settings:
475- **AMD**: Uses `radeonsi` driver
476- **Intel**: Uses `iHD` driver (modern, for Broadwell+)
477- **NVIDIA**: Uses `nvidia` driver with EGL platform
478
479**Example:**
480```toml
481[media]
482hardware_decoding = "auto"    # HW preferred, SW fallback
483prefer_av1 = false            # Let site choose codec
484show_diagnostics = false      # Keep off for daily use
485force_vsync = false           # Let compositor handle VSync
486gl_rendering_mode = "auto"    # GStreamer picks best GL API
487gstreamer_debug_level = 0     # Increase to 3-5 for debugging
488```
489
490**Diagnostic mode toggle path:**
491
492```toml
493# ~/.config/dumber/config.toml
494[media]
495show_diagnostics = true
496gstreamer_debug_level = 3
497```
498
499Set `show_diagnostics = false` and `gstreamer_debug_level = 0` to return to normal mode.
500
501**Diagnostics CLI:**
502```bash
503# Check GStreamer plugins and VA-API status
504dumber doctor --media
505```
506
507## Runtime
508
509| Key | Type | Default | Description |
510|-----|------|---------|-------------|
511| `runtime.prefix` | string | `""` | Optional runtime prefix (e.g., `/opt/webkitgtk`) used to locate newer GTK/WebKitGTK installs |
512
513If set, dumber prepends prefix-derived paths to:
514- `PKG_CONFIG_PATH` (for version checks)
515- `LD_LIBRARY_PATH` (for runtime library loading)
516- `GI_TYPELIB_PATH` (GObject introspection)
517- `XDG_DATA_DIRS` (schemas/resources)
518
519**Example:**
520```toml
521[runtime]
522prefix = "/opt/webkitgtk"
523```
524
525## Clipboard
526
527| Key | Type | Default | Description |
528|-----|------|---------|-------------|
529| `clipboard.auto_copy_on_selection` | bool | `true` | Automatically copy selected text to clipboard (zellij/tmux-style) |
530
531When enabled, selecting text in a web page immediately copies it to the clipboard with a brief toast notification. Does not apply to text selection in input fields or textareas.
532
533**Example:**
534```toml
535[clipboard]
536auto_copy_on_selection = true  # Enabled by default
537```
538
539## Content Filtering
540
541| Key | Type | Default | Description |
542|-----|------|---------|-------------|
543| `content_filtering.enabled` | bool | `true` | Enable ad blocking |
544| `content_filtering.auto_update` | bool | `true` | Automatically update filters |
545
546Notes:
547- Filter data is downloaded from `bnema/ublock-webkit-filters` GitHub releases.
548- Domain whitelist is managed via the database (`content_whitelist` table), not the config file.
549
550## Update
551
552| Key | Type | Default | Description |
553|-----|------|---------|-------------|
554| `update.enable_on_startup` | bool | `true` | Check for updates when browser starts |
555| `update.auto_download` | bool | `false` | Automatically download updates in background |
556| `update.notify_on_new_settings` | bool | `true` | Show toast notification when new config settings are available |
557
558**Example:**
559```toml
560[update]
561enable_on_startup = true       # Check for updates on startup
562auto_download = false          # Don't auto-download (prompt instead)
563notify_on_new_settings = true  # Show toast when config migration available
564```
565
566**CLI Commands:**
567```bash
568# Check config status and available migrations
569dumber config status
570
571# Add missing settings with default values
572dumber config migrate
573
574# Skip confirmation prompt
575dumber config migrate --yes
576```
577
578## Performance Profiles
579
580Performance profiles provide preset configurations for WebKitGTK tuning. These settings affect Skia rendering threads, memory pressure handling, and WebView pool behavior.
581
582> **Note:** Performance settings are applied at browser startup. Changes require a restart to take effect.
583
584| Key | Type | Default | Valid Values | Description |
585|-----|------|---------|--------------|-------------|
586| `performance.profile` | string | `"default"` | `default`, `lite`, `max`, `custom` | Performance profile selection |
587
588### Profiles
589
590| Profile | Description | Use Case |
591|---------|-------------|----------|
592| `default` | No tuning, uses WebKit defaults | Compatibility baseline, troubleshooting |
593| `lite` | Reduced resource usage | Low-RAM systems (< 4GB), battery saving |
594| `max` | Maximum responsiveness | Heavy pages (GitHub PRs, complex SPAs), high-end systems |
595| `custom` | Manual control over all settings | Advanced users who want fine-grained control |
596
597### Profile Settings Matrix
598
599| Setting | default | lite | max |
600|---------|---------|------|-----|
601| Skia CPU threads | unset | 2 | `NumCPU()/2` (min 4) |
602| Skia GPU threads | unset | unset | scales with VRAM |
603| Web process memory (MB) | unset | 768 | unset |
604| Network process memory (MB) | unset | 384 | unset |
605| Conservative threshold | unset | 0.25 | unset |
606| Strict threshold | unset | 0.4 | unset |
607| WebView pool prewarm | 4 | 2 | scales with RAM |
608
609**Example:**
610```toml
611[performance]
612profile = "default"  # WebKit baseline default
613
614# For WebKit baseline behavior:
615# profile = "default"
616
617# For heavy pages (GitHub PRs, complex web apps):
618# profile = "max"
619
620# For manual control:
621# profile = "custom"
622```
623
624### Custom Profile Settings
625
626When `profile = "custom"`, you can configure individual tuning options:
627
628| Key | Type | Default | Description |
629|-----|------|---------|-------------|
630| `performance.skia_cpu_painting_threads` | int | `0` | Skia CPU rendering threads (0=unset) |
631| `performance.skia_gpu_painting_threads` | int | `-1` | Skia GPU rendering threads (-1=unset, 0=disable) |
632| `performance.skia_enable_cpu_rendering` | bool | `false` | Force CPU rendering |
633| `performance.web_process_memory_limit_mb` | int | `0` | Web process memory limit in MB (0=unset) |
634| `performance.web_process_memory_poll_interval_sec` | float | `0` | Memory check interval (0=WebKit default: 30s) |
635| `performance.web_process_memory_conservative_threshold` | float | `0` | Conservative cleanup threshold (0=unset) |
636| `performance.web_process_memory_strict_threshold` | float | `0` | Strict cleanup threshold (0=unset) |
637| `performance.network_process_memory_limit_mb` | int | `0` | Network process memory limit in MB |
638| `performance.network_process_memory_poll_interval_sec` | float | `0` | Network memory check interval |
639| `performance.network_process_memory_conservative_threshold` | float | `0` | Network conservative threshold |
640| `performance.network_process_memory_strict_threshold` | float | `0` | Network strict threshold |
641| `performance.webview_pool_prewarm_count` | int | `4` | WebViews to pre-create at startup |
642| `performance.zoom_cache_size` | int | `256` | Domain zoom levels to cache |
643
644**Custom profile example:**
645```toml
646[performance]
647profile = "custom"
648
649# Skia threading - tune for your CPU
650skia_cpu_painting_threads = 4
651skia_gpu_painting_threads = 2
652
653# Web process memory pressure
654web_process_memory_limit_mb = 1024
655web_process_memory_conservative_threshold = 0.4
656web_process_memory_strict_threshold = 0.6
657
658# WebView pool
659webview_pool_prewarm_count = 6
660```
661
662> **Important:** Individual tuning fields are ignored unless `profile = "custom"`. Setting individual fields with any other profile will produce a validation warning.
663
664## Downloads
665
666| Key | Type | Default | Description |
667|-----|------|---------|-------------|
668| `downloads.path` | string | `""` | Download directory path (empty = `$XDG_DOWNLOAD_DIR` or `~/Downloads`) |
669
670Downloads are saved to the configured directory with toast notifications for download started, completed, and failed events.
671
672**Example:**
673```toml
674[downloads]
675path = ""  # Use system default ($XDG_DOWNLOAD_DIR or ~/Downloads)
676
677# Or specify a custom directory:
678# path = "/home/user/my-downloads"
679```
680
681## Environment Variables
682
683All config values can be overridden via environment variables with the prefix `DUMBER_`:
684
685```bash
686# Database
687DUMBER_DATABASE_PATH=/custom/path/db.sqlite
688
689# Rendering (examples)
690# Defaults: rendering.disable_dmabuf_renderer=false, rendering.gsk_renderer="auto"
691DUMBER_RENDERING_MODE=cpu
692# DUMBER_RENDERING_DISABLE_DMABUF_RENDERER=true
693# DUMBER_RENDERING_GSK_RENDERER=opengl
694DUMBER_DEFAULT_WEBPAGE_ZOOM=1.5
695
696# Logging
697DUMBER_LOG_LEVEL=debug
698DUMBER_LOG_FORMAT=json
699```

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close