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

View file

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

View file

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

View file

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