feat: use plain separators

This commit is contained in:
winston 2023-06-02 22:59:13 +02:00
parent 1f9f4732c5
commit 0c928bdfed
Signed by: winston
GPG key ID: 3786770EDBC2B481
4 changed files with 23 additions and 37 deletions

View file

@ -7,13 +7,17 @@ return {
local alpha = require("alpha") local alpha = require("alpha")
local dashboard = require("alpha.themes.dashboard") local dashboard = require("alpha.themes.dashboard")
dashboard.section.header.val = { dashboard.section.header.val = {
[[ _ _ _____ _____ _ _ ________ ___]], " ,-. _,---._ __ / \\ ",
[[| \ | || ___| _ || | | |_ _| \/ |]], " / ) .-' `./ / \\ ",
[[| \| || |__ | | | || | | | | | | . . |]], "( ( ,' `/ /|",
[[| . ` || __|| | | || | | | | | | |\/| |]], " \\ `-\" \\'\\ / |",
[[| |\ || |___\ \_/ /\ \_/ /_| |_| | | |]], " `. , \\ \\ / |",
[[\_| \_/\____/ \___/ \___/ \___/\_| |_/]], " /`. ,'-`----Y |",
[[ ]], " ( ; | '",
" | ,-. ,-' | / ",
" | | ( | | / ",
" ) | \\ `.___________|/ ",
" `--' `--' ",
} }
dashboard.section.buttons.val = { dashboard.section.buttons.val = {
dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"), dashboard.button("e", " New file", ":ene <BAR> startinsert <CR>"),

View file

@ -28,33 +28,7 @@ return {
left_mouse_command = "buffer %d", left_mouse_command = "buffer %d",
middle_mouse_command = "bdelete! %d", middle_mouse_command = "bdelete! %d",
right_mouse_command = nil, right_mouse_command = nil,
indicator = { icon = "" }, numbers = "ordinal",
numbers = function(tab)
local roman = {
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"XⅢ",
"XⅣ",
"",
"ⅩⅥ",
"ⅩⅦ",
"ⅩⅧ",
"ⅩⅨ",
"",
}
return string.format("%s ", roman[tab.ordinal])
end,
}, },
}) })

View file

@ -46,8 +46,8 @@ return {
options = { options = {
icons_enabled = true, icons_enabled = true,
theme = "catppuccin", theme = "catppuccin",
component_separators = { left = "", right = "" }, component_separators = { left = "", right = "" },
section_separators = { left = "", right = "" }, section_separators = { left = "", right = "" },
always_divide_middle = true, always_divide_middle = true,
globalstatus = true, globalstatus = true,
refresh = { refresh = {

View file

@ -40,6 +40,14 @@ wezterm.plugin
}) })
wezterm.plugin wezterm.plugin
.require("https://github.com/nekowinston/wezterm-bar") .require("https://github.com/nekowinston/wezterm-bar")
.apply_to_config(c) .apply_to_config(c, {
dividers = false,
indicator = {
leader = {
off = "󰝣",
on = "󰝤",
},
},
})
return c return c