2021-08-30 16:00:48 +00:00
|
|
|
-- Bubbles config for lualine
|
|
|
|
-- Author: lokesh-krishna
|
|
|
|
-- MIT license, see LICENSE for more details.
|
|
|
|
|
2021-09-03 18:20:34 +00:00
|
|
|
-- stylua: ignore
|
2021-08-30 16:00:48 +00:00
|
|
|
local colors = {
|
|
|
|
blue = '#80a0ff',
|
|
|
|
cyan = '#79dac8',
|
|
|
|
black = '#080808',
|
|
|
|
white = '#c6c6c6',
|
|
|
|
red = '#ff5189',
|
|
|
|
violet = '#d183e8',
|
|
|
|
grey = '#303030',
|
|
|
|
}
|
|
|
|
|
|
|
|
local bubbles_theme = {
|
|
|
|
normal = {
|
2021-09-03 18:28:20 +00:00
|
|
|
a = { fg = colors.black, bg = colors.violet },
|
|
|
|
b = { fg = colors.white, bg = colors.grey },
|
|
|
|
c = { fg = colors.black, bg = colors.black },
|
2021-08-30 16:00:48 +00:00
|
|
|
},
|
|
|
|
|
2021-09-03 18:28:20 +00:00
|
|
|
insert = { a = { fg = colors.black, bg = colors.blue } },
|
|
|
|
visual = { a = { fg = colors.black, bg = colors.cyan } },
|
|
|
|
replace = { a = { fg = colors.black, bg = colors.red } },
|
2021-08-30 16:00:48 +00:00
|
|
|
|
|
|
|
inactive = {
|
2021-09-03 18:28:20 +00:00
|
|
|
a = { fg = colors.white, bg = colors.black },
|
|
|
|
b = { fg = colors.white, bg = colors.black },
|
|
|
|
c = { fg = colors.black, bg = colors.black },
|
|
|
|
},
|
2021-08-30 16:00:48 +00:00
|
|
|
}
|
|
|
|
|
2021-09-03 18:28:20 +00:00
|
|
|
require('lualine').setup {
|
2021-08-30 16:00:48 +00:00
|
|
|
options = {
|
|
|
|
theme = bubbles_theme,
|
|
|
|
component_separators = '|',
|
2021-09-14 15:14:23 +00:00
|
|
|
section_separators = { left = '', right = '' },
|
2021-08-30 16:00:48 +00:00
|
|
|
},
|
|
|
|
sections = {
|
|
|
|
lualine_a = {
|
2021-09-14 15:14:23 +00:00
|
|
|
{ 'mode', separator = { left = '' }, right_padding = 2 },
|
2021-08-30 16:00:48 +00:00
|
|
|
},
|
2021-09-03 18:28:20 +00:00
|
|
|
lualine_b = { 'filename', 'branch' },
|
|
|
|
lualine_c = { 'fileformat' },
|
2021-08-30 16:00:48 +00:00
|
|
|
lualine_x = {},
|
|
|
|
lualine_y = { 'filetype', 'progress' },
|
|
|
|
lualine_z = {
|
2021-09-14 15:14:23 +00:00
|
|
|
{ 'location', separator = { right = '' }, left_padding = 2 },
|
2021-08-30 16:00:48 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
inactive_sections = {
|
2021-09-03 18:28:20 +00:00
|
|
|
lualine_a = { 'filename' },
|
2021-08-30 16:00:48 +00:00
|
|
|
lualine_b = {},
|
|
|
|
lualine_c = {},
|
|
|
|
lualine_x = {},
|
|
|
|
lualine_y = {},
|
2021-09-03 18:28:20 +00:00
|
|
|
lualine_z = { 'location' },
|
2021-08-30 16:00:48 +00:00
|
|
|
},
|
|
|
|
tabline = {},
|
2021-09-03 18:28:20 +00:00
|
|
|
extensions = {},
|
2021-08-30 16:00:48 +00:00
|
|
|
}
|