feat: use plain separators
This commit is contained in:
parent
1f9f4732c5
commit
0c928bdfed
4 changed files with 23 additions and 37 deletions
|
@ -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>"),
|
||||||
|
|
|
@ -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,
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue