diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 7d9b62f..dd358c3 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -75,6 +75,13 @@ set cmdheight=2 " Better display for messages " } +" AutoRestart { + autocmd BufWritePost ~/devel/personal/dwmblocks/blocks.h !cd ~/devel/personal/dwmblocks/; sudo make install && killall -q dwmblocks && setsid dwmblocks & + + autocmd BufWritePost ~/dotfiles/public/dunst/.config/dunst/dunstrc.thinkpad !killall -q dunst && setsid dunst & + autocmd BufWritePost ~/dotfiles/public/dunst/.config/dunst/dunstrc.desktop !killall -q dunst && setsid dunst & +" } + " Vim UI { set cursorline " show cursor line