Debian Codegraph @

examples/bubbles.lua

raw
1 -- Bubbles config for lualine
2 -- Author: lokesh-krishna
3 -- MIT license, see LICENSE for more details.
4
5 -- stylua: ignore
6 local colors = {
7 blue = '#80a0ff',
8 cyan = '#79dac8',
9 black = '#080808',
10 white = '#c6c6c6',
11 red = '#ff5189',
12 violet = '#d183e8',
13 grey = '#303030',
14 }
15
16 local bubbles_theme = {
17 normal = {
18 a = { fg = colors.black, bg = colors.violet },
19 b = { fg = colors.white, bg = colors.grey },
20 c = { fg = colors.white },
21 },
22
23 insert = { a = { fg = colors.black, bg = colors.blue } },
24 visual = { a = { fg = colors.black, bg = colors.cyan } },
25 replace = { a = { fg = colors.black, bg = colors.red } },
26
27 inactive = {
28 a = { fg = colors.white, bg = colors.black },
29 b = { fg = colors.white, bg = colors.black },
30 c = { fg = colors.white },
31 },
32 }
33
34 require('lualine').setup {
35 options = {
36 theme = bubbles_theme,
37 component_separators = '',
38 section_separators = { left = '', right = '' },
39 },
40 sections = {
41 lualine_a = { { 'mode', separator = { left = '' }, right_padding = 2 } },
42 lualine_b = { 'filename', 'branch' },
43 lualine_c = {
44 '%=', --[[ add your center components here in place of this comment ]]
45 },
46 lualine_x = {},
47 lualine_y = { 'filetype', 'progress' },
48 lualine_z = {
49 { 'location', separator = { right = '' }, left_padding = 2 },
50 },
51 },
52 inactive_sections = {
53 lualine_a = { 'filename' },
54 lualine_b = {},
55 lualine_c = {},
56 lualine_x = {},
57 lualine_y = {},
58 lualine_z = { 'location' },
59 },
60 tabline = {},
61 extensions = {},
62 }