From 47db2c24cf26e3ebbab5cbf9931df0285cbd4354 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Tue, 24 Mar 2026 09:41:54 +0100 Subject: [PATCH] Allow turning off nerd fonts without restarting Not a terribly important feature for users, probably, but it is useful for developers when testing a new feature with or without nerd fonts; and it does go against or policy of all configs being hot-reloadable. Note that switching from nerd fonts version 2 to 3 is *not* supported without restarting, but I find this less important. --- pkg/gui/gui.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 50176e013..3d20642cd 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -489,6 +489,8 @@ func (gui *Gui) onUserConfigLoaded() error { icons.SetNerdFontsVersion(userConfig.Gui.NerdFontsVersion) } else if userConfig.Gui.ShowIcons { icons.SetNerdFontsVersion("2") + } else { + icons.SetNerdFontsVersion("") } if len(userConfig.Gui.BranchColorPatterns) > 0 {