From f2e01d7e513067ddb57c75f6e38cdcf434946cf8 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 22 Oct 2018 00:02:58 +0200 Subject: Major refactoring for version 2.0 vim-plug has been removed and replaced with Vims internal bundle mechanism. But I already noticed, that there is also GLVM now and started trying that as well. --- plugin/max-change-icon.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 plugin/max-change-icon.vim (limited to 'plugin/max-change-icon.vim') diff --git a/plugin/max-change-icon.vim b/plugin/max-change-icon.vim new file mode 100644 index 0000000..f544a5e --- /dev/null +++ b/plugin/max-change-icon.vim @@ -0,0 +1,11 @@ + + + +augroup ChangeIcon + "if filereadable("/usr/bin/xseticon") + "if filereadable("~/.vim/nvim.png") + " autocmd VimEnter * silent :execute "!xseticon -id $WINDOWID ~/.vim/nvim.png" + " autocmd VimLeave * silent :execute "!xseticon -id $WINDOWID /usr/share/icons/gnome/32x32/apps/xfce-terminal.png" + "endif + "endif +augroup END -- cgit v1.2.3