Skip to content

Commit

Permalink
Update documentation, revert Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Yutsuten committed Jul 11, 2023
1 parent a20feaf commit 9381589
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/documentation/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ should work.

.. include:: dependency_info.rst

.. include:: updating_icon_cache.rst

.. _install_using_tox:

Using Tox
Expand Down
6 changes: 6 additions & 0 deletions docs/documentation/updating_icon_cache.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.. note::

You may need to run ``gtk-update-icon-cache /usr/share/icons/hicolor`` (replace the
path if installing the icons somewhere else) after the install to get the vimiv icon
in your application launcher. It has been reported that the command was needed for
`wofi <https://hg.sr.ht/~scoopta/wofi>`_.
2 changes: 0 additions & 2 deletions misc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ install:
gzip -n -9 -f $(MANDIR)/man1/vimiv.1
$(foreach i,$(ICONSIZES),install -Dm644 icons/vimiv_${i}x${i}.png $(DATADIR)/icons/hicolor/${i}x${i}/apps/vimiv.png;)
install -Dm644 icons/vimiv.svg $(DATADIR)/icons/hicolor/scalable/apps/vimiv.svg
-gtk-update-icon-cache $(DATADIR)/icons/hicolor

uninstall:
scripts/uninstall_pythonpkg.sh
Expand All @@ -47,7 +46,6 @@ uninstall:
rm $(MANDIR)/man1/vimiv.1.gz
$(foreach i,$(ICONSIZES),rm $(DATADIR)/icons/hicolor/${i}x${i}/apps/vimiv.png;)
rm $(DATADIR)/icons/hicolor/scalable/apps/vimiv.svg
-gtk-update-icon-cache $(DATADIR)/icons/hicolor

clean:
rm -rf build vimiv.egg-info/

0 comments on commit 9381589

Please sign in to comment.