diff options
author | Von Random <von@vdrandom.org> | 2023-06-20 15:40:41 +0300 |
---|---|---|
committer | Von Random <von@vdrandom.org> | 2023-06-20 15:40:41 +0300 |
commit | ff48d8d86b7db641042b55041baa8a671e9bd93a (patch) | |
tree | 48f16689e67c79a56a38bd02d31cec03c9d02b4d | |
parent | f42c2399584c5f3b8e125b5b9340009749f0d143 (diff) |
wezterm, neovim: some lua magic
-rw-r--r-- | cli/.config/nvim/lua/plugins.lua | 10 | ||||
-rw-r--r-- | gui/.wezterm.lua | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/cli/.config/nvim/lua/plugins.lua b/cli/.config/nvim/lua/plugins.lua index a2eebf2..cf705fc 100644 --- a/cli/.config/nvim/lua/plugins.lua +++ b/cli/.config/nvim/lua/plugins.lua @@ -25,10 +25,18 @@ end if require('packer_init').init(plugins) then return end --[[ plugins config ]] +if os.getenv('TERM'):match('linux') then + lualine_section_separators = { left = nil, right = nil } + lualine_component_separators = { left = '|', right = '|' } +else + lualine_section_separators = nil + lualine_component_separators = { left = '\u{2022}', right = '\u{2022}' } +end require('lualine').setup{ options = { icons_enabled = false, - component_separators = { left = '\u{2022}', right = '\u{2022}' } + section_separators = lualine_section_separators, + component_separators = lualine_component_separators } } diff --git a/gui/.wezterm.lua b/gui/.wezterm.lua index 313d4f0..03825dc 100644 --- a/gui/.wezterm.lua +++ b/gui/.wezterm.lua @@ -1,7 +1,7 @@ local wt = require('wezterm') local act = wt.action local font = 'VascadiaMod' -local harfbuzz_features = null +local harfbuzz_features = nil local fontsizes = { Darwin = 14, others = 11 } local theme = 'GruvboxDark' local overrides = { |