From 62c606d3b890bc7c00f2dbf3c7bdb5d1de56c09e Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Fri, 20 Mar 2020 18:33:12 +0530 Subject: min --- bspwm/.config/bspwm/bspwmrc | 2 -- ncmpcpp/.ncmpcpp/config | 1 - nvim/.config/nvim/init.vim | 3 +++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index f94bc2e..bed1db8 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -23,8 +23,6 @@ bspc config borderless_monocle true bspc config gapless_monocle true bspc rule -a firefox desktop='^2' -bspc rule -a Spotify desktop='^3' -bspc rule -a telegram-desktop desktop='^7' bspc rule -a Pcmanfm desktop='^4' $HOME/.config/polybar/launch.sh & diff --git a/ncmpcpp/.ncmpcpp/config b/ncmpcpp/.ncmpcpp/config index cf99ab7..aec3dbf 100644 --- a/ncmpcpp/.ncmpcpp/config +++ b/ncmpcpp/.ncmpcpp/config @@ -76,7 +76,6 @@ titles_visibility = "yes" progressbar_look = "=>-" -progressbar_boldness = "yes" progressbar_elapsed_color = "white" now_playing_prefix = "> " diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index ce38e7c..ee74f70 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -90,6 +90,9 @@ let g:keysound_theme = 'default' let g:NERDTreeWinPos = "right" map :NERDTreeToggle nnoremap :FZF +autocmd StdinReadPre * let s:std_in=1 +autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif +autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif "statusbar hi Comment cterm=italic -- cgit v1.2.3