aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGuilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com>2021-09-23 04:17:52 +0200
committerGitHub <noreply@github.com>2021-09-23 04:17:52 +0200
commitde9a285ff2d1d31e87a70003588595e443c7fabd (patch)
tree0c68e943e9ca60ba45687e44af999c524d7a7dc0 /README.md
parent9e22f32c07db0b3b2d72fb252872c9f7bc7141e3 (diff)
downloadnsxiv-de9a285ff2d1d31e87a70003588595e443c7fabd.tar.zst
Add desktop and icon rules to Makefile, document icon installation (#80)
Co-authored-by: NRK <nrk@disroot.org>
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/README.md b/README.md
index 69e4632..9a1410e 100644
--- a/README.md
+++ b/README.md
@@ -79,9 +79,19 @@ Installing nsxiv:
# make install
-Please note, that this requires root privileges.
+Installing desktop entry:
+
+ # make desktop
+
+Installing icons:
+
+ # make icon
+
+Please note, that these requires root privileges.
By default, nsxiv is installed using the prefix "/usr/local", so the full path
-of the executable will be "/usr/local/bin/nsxiv".
+of the executable will be "/usr/local/bin/nsxiv", the `.desktop` entry will be
+"/usr/local/share/applications/nsxiv.desktop" and the icon path will be
+"/usr/local/share/icons/hicolor/{size}/apps/nsxiv.png".
You can install nsxiv into a directory of your choice by changing this command to: