diff --git a/config/statusline/staline.nix b/config/statusline/staline.nix index 4c309987..ae07bb83 100644 --- a/config/statusline/staline.nix +++ b/config/statusline/staline.nix @@ -13,12 +13,30 @@ ]; extraConfigLua = '' require("staline").setup({ - defaults = { + sections = { + left = { "-mode", " ", "branch" }, + mid = { "lsp_name" }, + right = { "file_name", "line_column" }, + }, + inactive_sections = { + left = { "-mode", " ", "branch" }, + mid = { "lsp_name" }, + right = { "file_name", "line_column" }, + }, + defaults = { left_separator = " ", right_separator = " ", branch_symbol = " ", mod_symbol = "", line_column = "[%l/%L]", + inactive_color = "#80a6f2", --#303030 is the default + inactive_bgcolor = "none", + }, + special_table = { + lazy = { "Plugins", "💤 " }, + TelescopePrompt = { "Telescope", " " }, + oil = { "Oil", "󰏇 " }, + lazygit = { "LazyGit", " " }, }, mode_icons = { ["n"] = "NORMAL", @@ -42,15 +60,6 @@ ["c"] = "COMMAND", ["t"] = "TERMINAL", }, - special_table = { - lazy = { "Plugins", "💤 " }, - TelescopePrompt = { "Telescope", " " }, - }, - sections = { - left = { "-mode", " ", "branch" }, - mid = { "lsp_name" }, - right = { "file_name", "line_column" }, - }, }) ''; }