1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

script: contribute "light" theme overrides

Add script-theme.{c,h} with the script plugin contribution to the
built-in "light" theme: 24 entries on script.color.* (status_* and
text_*) tuned for a light-background terminal.

Same 2D-array pattern as the other plugin contributions.

Default option values are NOT changed.
This commit is contained in:
Sébastien Helleu
2026-05-27 18:11:11 +02:00
parent f77af6ecd7
commit 7753c18eb4
4 changed files with 123 additions and 0 deletions
+3
View File
@@ -37,6 +37,7 @@
#include "script-info.h"
#include "script-mouse.h"
#include "script-repo.h"
#include "script-theme.h"
WEECHAT_PLUGIN_NAME(SCRIPT_PLUGIN_NAME);
@@ -352,6 +353,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
script_config_read ();
script_theme_init ();
weechat_mkdir_home ("${weechat_cache_dir}/" SCRIPT_PLUGIN_NAME, 0755);
script_command_init ();