Skip to content

Commit

Permalink
Merge pull request #68 from redyf/dev
Browse files Browse the repository at this point in the history
Staline new options
  • Loading branch information
redyf authored Feb 15, 2024
2 parents d4686aa + 5549c7a commit 0f2d2bf
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 14 deletions.
29 changes: 19 additions & 10 deletions config/statusline/staline.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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" },
},
})
'';
}
23 changes: 19 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0f2d2bf

Please sign in to comment.