about summary refs log tree commit diff stats
path: root/doc/cha-config.5
Commit message (Collapse)AuthorAgeFilesLines
* Update docsbptato2025-05-091-1/+1
|
* config: add external.show-download-panelbptato2025-05-091-0/+12
|
* config: remove sockdirbptato2025-05-081-13/+0
|
* Makefile: remove submodule target, update docsbptato2025-05-041-1/+139
| | | | | | | submodule has been unused for a while now, should be OK to remove it. I've also gotten tired of the tables on the man page being borderline unreadable, so I've hacked some borders onto them. Ugly, but works.
* toml: remove broken special case, update docsbptato2025-04-151-3/+0
| | | | | | Turns out the cure was worse than the disease. Let's just make it a backwards incompatible change, so that at least the error message is no longer nonsensical.
* config: unify table arrays and tablesbptato2025-04-111-19/+30
| | | | | | | | | | | | | | | | | | [[siteconf]] now just means [siteconf.0], etc. So you can now override parts of default siteconfs/omnirules, e.g. to change the Google search substitute-url, etc. To celebrate this, I've added some more default search engines: * wk: -> Wikipedia * wd: -> Wiktionary * ms: -> Marginalia Search These can be replaced by setting e.g. omnirule.wk = {}, etc. Also, siteconf = {} can be used to clear pre-defined siteconfs. This is an unfortunate deviation in semantics from TOML, but in practice the way it worked before didn't match the spec either, so at least it is now consistent.
* Update docsbptato2025-04-101-4/+2
|
* config: fix semicolon handling in user-style importbptato2025-04-011-2/+2
| | | | | ok so apparently you can leave out the semicolon, but *only* if the at rule is at EOF
* config: add user-style, deprecate [css] and stylesheetbptato2025-04-011-14/+36
| | | | | I'm not 100% content with this syntax either, but it's a significant improvement over the previous solution.
* Update docsbptato2025-02-201-20/+51
|
* Update docsbptato2025-01-271-0/+10
|
* Update manpagesbptato2025-01-151-1/+2
|
* Update manpagesbptato2025-01-071-90/+307
|
* pager, mailcap: misc fixes, add prompt for global mailcapbptato2024-12-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | In the past, Chawan would read global mailcap (/etc/mailcap, ...) too, but every now and then that would run entries that I didn't even know existed and definitely didn't intend to run. So I changed it to only use ~/.mailcap, but this meant users now had to add mailcap entries for every single mime type. At some point I also changed application/octet-stream to always save to disk, which is usually nice except when a text file is misrecognized as binary. Often times I just want to decide myself what to do. So now there are two layers. First, the global mailcap files (path as per RFC) prompt before executing. Then there is ~/.chawan/auto.mailcap (or ~/.config/chawan/auto.mailcap) which runs entries automatically. If you press shift before selecting an option in the prompt, the corresponding entry gets copied to auto.mailcap. It's also possible to type a new entry on the fly. Overall I think it's quite convenient. One unfortunate side effect is that existing users will have to migrate their entries to auto.mailcap, or redefine external.auto-mailcap to e.g. ~/.mailcap, but this seems acceptable.
* Update docsbptato2024-12-051-0/+26
|
* Update docsbptato2024-11-281-10/+10
|
* config: resolve download-dir as path, update docsbptato2024-11-131-16/+15
| | | | | | | Turns out it's more useful to have env vars in the variable than to allow incomplete path names. Also, fix the disappearing backslash issue in docs.
* config: refactor, accept more possible config dirsbptato2024-10-281-10/+47
| | | | | | | | | | | | | | | | | | | | | I'm starting to favor dotfiles over XDG basedirs, but there's no reason why we couldn't have both. So now the search path is: 0. if config was set through -C, use that 1. $CHA_CONFIG_DIR is set -> $CHA_CONFIG_DIR/config.toml 2. $XDG_CONFIG_HOME is set -> $XDG_CONFIG_HOME/chawan/config.toml 3. ~/.config/chawan/config.toml exists -> use that 4. ~/.chawan/config.toml exists -> use that Notably, this makes it so the default directory is ~/.chawan *if* you don't have an existing config.toml file. So in that case known_hosts will be placed in ~/.chawan/known_hosts. However, configurations with a config in ~/.config/chawan/config.toml continue to work as expected, as for those the known_hosts file remains inside ~/.config/chawan/. Finally, I've added a default user CGI directory to reduce friction in setting CGI up. (Like known_hosts, it's also relative to whatever config dir you have.)
* Update docsbptato2024-10-101-6/+15
|
* Update docsbptato2024-09-261-184/+356
|
* doc: update manpagesbptato2024-09-021-9/+48
|
* Update docsbptato2024-07-191-3/+128
|
* doc: update manpagesbptato2024-06-241-5/+49
|
* Update docsbptato2024-05-161-34/+25
|
* term: optimize canvas redraw, remove emulate-overlinebptato2024-05-101-9/+0
| | | | | | | * Replaced the `pcanvas' comparison with a much simpler tracking of the first damaged cell in writeGrid, which is significantly faster. * Removed emulate-overline: it's of too little utility compared to the maintenance burden it caused.
* Update docsbptato2024-05-041-60/+18
|
* config: add insecure-ssl-no-verify option to siteconfbptato2024-05-011-343/+310
| | | | | | | Equivalent to curl --insecure. Note: unfortunately this does not help if the server is using unsafe legacy renegotiation, you have to allow that in the OpenSSL config.
* config: fix copy image URL, document copy commandsbptato2024-04-271-0/+18
|
* doc: include auto-generated manpages in repositorybptato2024-04-261-0/+1514
The 100kb or so doesn't hurt as much as not having manual pages at all without pandoc (+ not auto-updating them through make all) does.