diff options
author | Max Christian Pohle | 2018-10-22 00:02:58 +0200 |
---|---|---|
committer | Max Christian Pohle | 2018-10-22 20:42:25 +0200 |
commit | f2e01d7e513067ddb57c75f6e38cdcf434946cf8 (patch) | |
tree | 4e8448506756d2144db173d01385798840507133 /plugin/max-change-icon.vim | |
parent | 31f80d9c334e38e486545407ea5eb5f5cbb2f07d (diff) | |
download | vim-karlmarks-f2e01d7e513067ddb57c75f6e38cdcf434946cf8.tar.bz2 vim-karlmarks-f2e01d7e513067ddb57c75f6e38cdcf434946cf8.zip |
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.
Diffstat (limited to 'plugin/max-change-icon.vim')
-rw-r--r-- | plugin/max-change-icon.vim | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ | |||
1 | |||
2 | |||
3 | |||
4 | augroup ChangeIcon | ||
5 | "if filereadable("/usr/bin/xseticon") | ||
6 | "if filereadable("~/.vim/nvim.png") | ||
7 | " autocmd VimEnter * silent :execute "!xseticon -id $WINDOWID ~/.vim/nvim.png" | ||
8 | " autocmd VimLeave * silent :execute "!xseticon -id $WINDOWID /usr/share/icons/gnome/32x32/apps/xfce-terminal.png" | ||
9 | "endif | ||
10 | "endif | ||
11 | augroup END | ||