Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Support setting status bar message switch https://github.com/siyuan-note/siyuan/issues/16236

Daniel22e4a3683270
diff --git a/kernel/api/system.go b/kernel/api/system.go
index 641bbef754..cad8e0fa78 100644
--- a/kernel/api/system.go
+++ b/kernel/api/system.go
@@ -685,6 +685,8 @@ func setAppearanceMode(c *gin.Context) {
}
model.Conf.Save()
+ util.StatusBarCfg = model.Conf.Appearance.StatusBar
+
ret.Data = map[string]interface{}{
"appearance": model.Conf.Appearance,
}