diff --git a/Makefile b/Makefile index 188bd13..9fa91a2 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,10 @@ run: install: mkdir -p $(PREFIX)/bin/ cp target/release/nvim-gtk $(PREFIX)/bin/ - xdg-desktop-menu install --novendor ./desktop/nvim-gtk.desktop - xdg-icon-resource install --novendor --mode system --size 128 ./desktop/nvim-gtk.png nvim-gtk + mkdir -p $(PREFIX)/share/applications/ + cp desktop/nvim-gtk.desktop $(PREFIX)/share/applications/ + mkdir -p $(PREFIX)/share/icons/nvim-gtk/ + cp desktop/nvim-gtk.png $(PREFIX)/share/pixmaps/nvim-gtk/ mkdir -p $(PREFIX)/share/fonts/ cp -n desktop/dejavu_font/*.ttf $(PREFIX)/share/fonts/ fc-cache -fv diff --git a/desktop/nvim-gtk.png b/desktop/nvim-gtk.png index 1dde98d..37083e6 100644 Binary files a/desktop/nvim-gtk.png and b/desktop/nvim-gtk.png differ diff --git a/desktop/nvim-gtk.svg b/desktop/nvim-gtk.svg new file mode 100644 index 0000000..c553323 --- /dev/null +++ b/desktop/nvim-gtk.svg @@ -0,0 +1,161 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + +