Skip to main content

Module presets

Module presets 

Source
Expand description

Sites people commonly keep, offered when adding one (docs/sites.md, “Presets”): per country, per state or province where it matters, and for everyone (chats, video calls, social networks, dating). Each says its type (how it behaves) and the categories it comes with (what it is about). A plain JSON file anyone can update without building Sioul (presets/sites.json; tools/check-presets.py checks every address): the newest, by its checked date, of the copy built in, one in $XDG_DATA_DIRS/sioul/presets/, and yours in $XDG_DATA_HOME/sioul/presets/.

Structs§

Country
Preset
One site offered.
Presets
Region
Scope
Where an offered site comes from: everyone’s, a country’s, a region’s.
Tag

Constants§

BUILT_IN 🔒

Functions§

built_in
The presets built into this Sioul.
load
The newest presets: of the copy built in and those on disk, the one checked last.
places 🔒
Where newer presets may be: yours first, then the system’s.
words
The words in language, else in English, else any.

Type Aliases§

Words
Words in several languages: “en” → “Bank”, “fr” → “Banque”.