2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-07 15:20:33 +00:00
steffen-dotfiles/.config/yazi/init.lua
Steffen Rademacker ef31ce1999 .
2024-10-23 14:32:05 +02:00

31 lines
867 B
Lua

require('starship'):setup()
require('zoxide'):setup({
update_db = true,
})
require('yatline'):setup({
show_background = false,
display_header_line = true, -- keep for starship plugin
display_status_line = true,
header_line = {},
status_line = {
left = {
section_a = { { type = 'string', name = 'tab_mode' } },
section_b = { { type = 'string', name = 'hovered_size' } },
section_c = {
{ type = 'string', name = 'hovered_name' },
{ type = 'coloreds', name = 'count' },
},
},
right = {
section_a = { { type = 'string', name = 'cursor_position' } },
section_b = { { type = 'string', name = 'cursor_percentage' } },
section_c = {
{ type = 'string', name = 'hovered_file_extension', params = { true } },
{ type = 'coloreds', name = 'permissions' },
},
},
},
})