1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 19:23:13 +02:00

core: add /theme reset to restore original themable defaults

This commit is contained in:
Sébastien Helleu
2026-05-27 22:06:23 +02:00
parent ad3b7b825c
commit 2bbcd8a68f
12 changed files with 239 additions and 1 deletions
+14
View File
@@ -2248,6 +2248,20 @@ is aborted before any option is changed.
The name of the last applied theme is stored in
`+weechat.look.theme+` (informational only; not re-applied at startup).
[[themes_reset]]
==== Resetting to defaults
To restore the look shipped with WeeChat, reset every themable option
to its default value:
----
/theme reset
----
A backup is written first (same gate as `+/theme apply+`); on backup
failure the reset is aborted before any option is changed.
`+weechat.look.theme+` is cleared too.
[[themes_save_delete]]
==== Saving and deleting user themes