diff --git a/lua/pika/plugins/ui.lua b/lua/pika/plugins/ui.lua index 2013457..81adb22 100644 --- a/lua/pika/plugins/ui.lua +++ b/lua/pika/plugins/ui.lua @@ -220,96 +220,132 @@ return { vim.keymap.set("n", "tn", "Telescope notify", { desc = "Telescope show Notifications" }), }, + -- ╭────────────────────────────────╮ + -- │ lualine - another bar for nvim │ + -- ╰────────────────────────────────╯ + { + "nvim-lualine/lualine.nvim", + opts = { + options = { + theme = bubbles_theme, + component_separators = "", + section_separators = { left = "", right = "" }, + }, + sections = { + lualine_a = { { "mode", separator = { left = "" }, right_padding = 4 } }, + lualine_b = { "filename", "branch" }, + lualine_c = { + "%=", + "cwd", + }, + lualine_x = {}, + lualine_y = { "filetype", "progress" }, + lualine_z = { + { "location", separator = { right = "" }, left_padding = 4 }, + }, + }, + inactive_sections = { + lualine_a = { "filename" }, + lualine_b = {}, + lualine_c = {}, + lualine_x = {}, + lualine_y = {}, + lualine_z = { "location" }, + }, + tabline = {}, + extensions = {}, + }, + }, + -- ╭──────────────────────────────╮ -- │ slimline - nice bar for nvim │ -- ╰──────────────────────────────╯ - { - -- Calls `require('slimline').setup({})` - "sschleemilch/slimline.nvim", - opts = { - bold = true, -- makes primary parts and mode bold - verbose_mode = false, -- Mode as single letter or as a word - style = "bg", -- or "fg". Whether highlights should be applied to bg or fg of components - mode_follow_style = true, -- Whether the mode color components should follow the style option - spaces = { - components = "─", - left = "─", - right = "─", - }, - configs = { - path = { - hl = { - primary = "Define", - }, - }, - git = { - hl = { - primary = "Function", - }, - }, - diagnostics = { - hl = { - primary = "Statement", - }, - }, - filetype_lsp = { - hl = { - primary = "String", - }, - }, - }, - components = { -- Choose components and their location - left = { - "mode", - "progress", - -- "path", - -- "git", - }, - center = { - "path", - "git", - }, - right = { - "diagnostics", - "filetype_lsp", - "progress", - }, - }, - sep = { - hide = { - first = false, -- hides the first separator - last = false, -- hides the last separator - }, - left = "", -- left separator of components - right = "", -- right separator of components - }, - hl = { - modes = { - normal = "Type", -- highlight base of modes - insert = "Function", - pending = "Boolean", - visual = "Keyword", - command = "String", - }, - base = "Comment", -- highlight of everything in in between components - primary = "Normal", -- highlight of primary parts (e.g. filename) - secondary = "Comment", -- highlight of secondary parts (e.g. filepath) - }, - icons = { - diagnostics = { - ERROR = " ", - WARN = " ", - HINT = " ", - INFO = " ", - }, - git = { - branch = "", - }, - folder = " ", - lines = " ", - }, - }, - }, + -- { + -- "sschleemilch/slimline.nvim", + -- opts = { + -- bold = true, -- makes primary parts and mode bold + -- verbose_mode = false, -- Mode as single letter or as a word + -- style = "bg", -- or "fg". Whether highlights should be applied to bg or fg of components + -- mode_follow_style = true, -- Whether the mode color components should follow the style option + -- spaces = { + -- components = "─", + -- left = "─", + -- right = "─", + -- }, + -- configs = { + -- path = { + -- hl = { + -- primary = "Define", + -- }, + -- }, + -- git = { + -- hl = { + -- primary = "Function", + -- }, + -- }, + -- diagnostics = { + -- hl = { + -- primary = "Statement", + -- }, + -- }, + -- filetype_lsp = { + -- hl = { + -- primary = "String", + -- }, + -- }, + -- }, + -- components = { -- Choose components and their location + -- left = { + -- "mode", + -- "progress", + -- -- "path", + -- -- "git", + -- }, + -- center = { + -- "path", + -- "git", + -- }, + -- right = { + -- "diagnostics", + -- "filetype_lsp", + -- "progress", + -- }, + -- }, + -- sep = { + -- hide = { + -- first = false, -- hides the first separator + -- last = false, -- hides the last separator + -- }, + -- left = "", -- left separator of components + -- right = "", -- right separator of components + -- }, + -- hl = { + -- modes = { + -- normal = "Type", -- highlight base of modes + -- insert = "Function", + -- pending = "Boolean", + -- visual = "Keyword", + -- command = "String", + -- }, + -- base = "Comment", -- highlight of everything in in between components + -- primary = "Normal", -- highlight of primary parts (e.g. filename) + -- secondary = "Comment", -- highlight of secondary parts (e.g. filepath) + -- }, + -- icons = { + -- diagnostics = { + -- ERROR = " ", + -- WARN = " ", + -- HINT = " ", + -- INFO = " ", + -- }, + -- git = { + -- branch = "", + -- }, + -- folder = " ", + -- lines = " ", + -- }, + -- }, + -- }, -- ╭────────────────────────────────────────╮ -- │ which key - to know what to press next │