diff --git a/lua/dropbar/sources/terminal.lua b/lua/dropbar/sources/terminal.lua index d912872b..2ee8712b 100644 --- a/lua/dropbar/sources/terminal.lua +++ b/lua/dropbar/sources/terminal.lua @@ -5,7 +5,8 @@ local configs = require('dropbar.configs') ---@return dropbar_symbol_opts_t local function buf_info(buf) return { - icon = configs.eval(configs.opts.sources.terminal.icon, buf), + icon = configs.opts.icons.enable + and configs.eval(configs.opts.sources.terminal.icon, buf), name = configs.eval(configs.opts.sources.terminal.name, buf), icon_hl = 'DropBarIconKindTerminal', name_hl = 'DropBarKindTerminal',