From 038d2a58eaba5607361136cb2a45ab38553aeeba Mon Sep 17 00:00:00 2001 From: Max Richter Date: Sat, 27 Nov 2021 18:39:53 +0100 Subject: [PATCH] feat: fix padding issue with nvim-tree --- configs/nvim/init.lua | 27 +++++++++++++++++++++------ configs/waybar/media.log | 29 +++++++++++++++++++++++++++++ configs/waybar/style.css | 2 +- 3 files changed, 51 insertions(+), 7 deletions(-) diff --git a/configs/nvim/init.lua b/configs/nvim/init.lua index 5315680..8392ba0 100644 --- a/configs/nvim/init.lua +++ b/configs/nvim/init.lua @@ -102,8 +102,8 @@ if u.has_plugin("cmp") then ignored = "◌" }, folder = { - arrow_open = " ", - arrow_closed = " ", + arrow_open = ">", + arrow_closed = "<", default = "", open = "", empty = "", @@ -119,7 +119,16 @@ if u.has_plugin("cmp") then } } - require("nvim-tree").setup { + g.nvim_tree_highlight_opened_files = 1; + g.nvim_tree_group_empty = 1; + g.nvim_tree_indent_markers = 0; + g.nvim_tree_show_icons ={ + folder_arrows = 0, + folders = 1, + files = 1, + git = 1 + } + require("nvim-tree").setup { auto_open = 1, gitignore = 1, group_empty = 1, @@ -127,9 +136,15 @@ if u.has_plugin("cmp") then update_focused_file = { enable = false, }, - diagnostics = { - enable = true - }, + diagnostics = { + enable = true, + icons = { + hint = "", + info = "", + warning = "", + error = "", + }, + }, view = { auto_resize = true, hide_root_folder = true, diff --git a/configs/waybar/media.log b/configs/waybar/media.log index 41c2c83..35247ae 100644 --- a/configs/waybar/media.log +++ b/configs/waybar/media.log @@ -1104,3 +1104,32 @@ __main__ DEBUG Received signal to stop, exiting __main__ DEBUG Arguments received {'verbose': 0, 'player': None} __main__ DEBUG Received signal to stop, exiting __main__ DEBUG Arguments received {'verbose': 0, 'player': None} +__main__ DEBUG Received signal to stop, exiting +__main__ DEBUG Arguments received {'verbose': 0, 'player': None} +__main__ DEBUG Received signal to stop, exiting +__main__ DEBUG Arguments received {'verbose': 0, 'player': None} +__main__ DEBUG Received signal to stop, exiting +__main__ DEBUG Arguments received {'verbose': 0, 'player': None} +__main__ DEBUG Arguments received {'verbose': 0, 'player': None} +__main__ DEBUG Initialize player: chromium +__main__ INFO Received new metadata +__main__ INFO Writing output +__main__ INFO Received new playback status +__main__ INFO Received new metadata +__main__ INFO Writing output +__main__ INFO Received new metadata +__main__ INFO Writing output +__main__ INFO Received new metadata +__main__ INFO Writing output +__main__ INFO Received new metadata +__main__ INFO Writing output +__main__ DEBUG Received signal to stop, exiting +__main__ DEBUG Arguments received {'verbose': 0, 'player': None} +__main__ DEBUG Received signal to stop, exiting +__main__ DEBUG Arguments received {'verbose': 0, 'player': None} +__main__ DEBUG Received signal to stop, exiting +__main__ DEBUG Arguments received {'verbose': 0, 'player': None} +__main__ DEBUG Arguments received {'verbose': 0, 'player': None} +__main__ DEBUG Received signal to stop, exiting +__main__ DEBUG Received signal to stop, exiting +__main__ DEBUG Arguments received {'verbose': 0, 'player': None} diff --git a/configs/waybar/style.css b/configs/waybar/style.css index 476ca80..904f9ad 100644 --- a/configs/waybar/style.css +++ b/configs/waybar/style.css @@ -2,7 +2,7 @@ border: none; font-family: Font Awesome, Hack Nerd Font; font-size: 13px; - opacity: 0.95; + /* opacity: 0.95; */ } window#waybar {