Expand description
Configuration type definitions: settings, themes, widgets, connections, bookmarks.
Structs§
- Block
Def - Block definition for widgets.
- Config
Error - Configuration error from parsing.
- Conn
Keywords - Per-connection configuration keywords.
Matches Go’s
wconfig.ConnKeywords. - FileDef
- File definition for block widgets.
- Full
Config Type - Complete application configuration.
Matches Go’s
wconfig.FullConfigType. - Mime
Type Config Type - MIME type display configuration.
- Settings
Type - Application settings. Matches Go’s
wconfig.SettingsTypeJSON tags. Fields use pointer-likeOptionfor nullable booleans/numbers to distinguish “not set” from “false/0”. - Term
Theme Type - Terminal color theme.
- WebBookmark
- Web bookmark.
- Webhook
Config Type - Webhook integration configuration.
- Widget
Config Type - Widget configuration.
Functions§
- deserialize_
connections 🔒 settings.json→connections, entry by entry. An entry that doesn’t parse (say"term:durable": "yes") is skipped with a warning; failing it would fail the wholeSettingsType, which resets every setting at startup and drops every later edit on reload. The entry stays on disk untouched.- deserialize_
string_ 🔒list - A list of strings such as
widget:pinned, read leniently: a value that isn’t a list is ignored with a warning and non-string items are dropped. Failing it would fail the wholeSettingsType, as the note ondeserialize_connectionsexplains. - is_
false 🔒 - is_
zero_ 🔒f32 - is_
zero_ 🔒f64 - is_
zero_ 🔒i32