From 806d038ffb40c57c3fda2c86ff7a15c64311c740 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Mon, 8 Mar 2021 11:49:27 +0530 Subject: [PATCH] statusline --- lua/statusline/lua.lua | 50 +++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/lua/statusline/lua.lua b/lua/statusline/lua.lua index 86159e4..5eeec89 100644 --- a/lua/statusline/lua.lua +++ b/lua/statusline/lua.lua @@ -10,22 +10,21 @@ local colors = { yellow = '#A3BE8C', cyan = '#22262C', darkblue = '#61afef', - green = '#afd700', + green = '#BBE67E', orange = '#FF8800', purple = '#252930', magenta = '#c678dd', blue = '#22262C'; - red = '#ec5f67', - firored = '#DF8890', + red = '#DF8890', lightbg = '#3C4048', nord = '#81A1C1', - nordYel = '#EBCB8B' + greenYel = '#EBCB8B' } gls.left[1] = { - FirstElement = { + leftRounded = { provider = function() return '' end, - highlight = { colors.nord, colors.bg } + highlight = { colors.green, colors.bg } }, } @@ -34,7 +33,7 @@ gls.left[2] = { provider = function() return ' 󰀘 ' end, - highlight = {colors.bg,colors.nord}, + highlight = {colors.bg,colors.green}, separator = ' ', separator_highlight = {colors.lightbg,colors.lightbg}, }, @@ -51,26 +50,24 @@ gls.left[3] ={ gls.left[4] = { FileName = { provider = {'FileName','FileSize'}, - separator = ' ', - separator_highlight = {colors.line_bg,colors.lightbg}, condition = buffer_not_empty, highlight = {colors.fg,colors.lightbg} } } gls.left[5] = { - rightRounded = { + teech = { provider = function() return '' end, + separator = ' ', highlight = { colors.lightbg, colors.bg } }, } - gls.left[6] = { GitIcon = { provider = function() return '  ' end, condition = require('galaxyline.provider_vcs').check_git_workspace, - highlight = {colors.fg,colors.line_bg}, + highlight = {colors.red,colors.line_bg}, } } @@ -78,7 +75,7 @@ gls.left[7] = { GitBranch = { provider = 'GitBranch', condition = require('galaxyline.provider_vcs').check_git_workspace, - highlight = {'#8FBCBB',colors.line_bg,'bold'}, + highlight = {colors.red,colors.line_bg,'bold'}, } } @@ -90,16 +87,16 @@ local checkwidth = function() return false end -gls.left[7] = { +gls.left[8] = { DiffAdd = { provider = 'DiffAdd', condition = checkwidth, icon = '  ', - highlight = {colors.nordYel,colors.line_bg}, + highlight = {colors.greenYel,colors.line_bg}, } } -gls.left[8] = { +gls.left[9] = { DiffModified = { provider = 'DiffModified', condition = checkwidth, @@ -108,7 +105,7 @@ gls.left[8] = { } } -gls.left[9] = { +gls.left[10] = { DiffRemove = { provider = 'DiffRemove', condition = checkwidth, @@ -149,27 +146,34 @@ gls.left[13] = { } } - - gls.right[1] = { - uwu = { + right_LeftRounded = { provider = function() return '' end, - highlight = { colors.firored, colors.bg } + highlight = { colors.nord, colors.bg } }, } + gls.right[2]= { FileFormat = { provider = 'FileFormat', - highlight = {colors.bg,colors.firored}, + highlight = {colors.bg,colors.nord}, } } + gls.right[3] = { PerCent = { provider = 'LinePercent', separator = ' ', - separator_highlight = {colors.firored,colors.firored}, + separator_highlight = {colors.nord,colors.nord}, highlight = {colors.bg,colors.fg}, } } + +gls.right[4] = { + rightRounded = { + provider = function() return '' end, + highlight = { colors.fg, colors.bg } + }, +}