diff --git a/lua/config/options.lua b/lua/config/options.lua index a17f2ae..69181f2 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -33,6 +33,8 @@ vim.g.usetinyinline = true ---@type boolean Options: -- Highlight lines with git changes vim.g.git_line_hl = false ---@type boolean Options: -- Highlight words with git changes diff --git a/lua/plugins/dashboard/snacks.lua b/lua/plugins/dashboard/snacks.lua index 26874b2..82c65a3 100644 --- a/lua/plugins/dashboard/snacks.lua +++ b/lua/plugins/dashboard/snacks.lua @@ -68,9 +68,10 @@ local function create_sections(neovide) }) if not neovide then + local usrname = vim.g.gitname or 'rootiest' table.insert(sections, { section = 'terminal', - cmd = 'kusa rootiest && sleep 0.2', + cmd = 'kusa ' .. usrname .. ' && sleep 0.2', padding = { 0, 0 }, height = 10, width = 106,