aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Karasev <begs@disroot.org>2021-09-29 23:56:52 +0300
committerHarry Jeffery <harry@exec64.co.uk>2021-09-29 21:17:05 +0000
commitf58e81288b2138d1b532cf11fb95bbcbac362a4e (patch)
tree3c3c7cf83123c93d85ab2d2759a4a40eb1d80a05
parentdaea88c572d8ef1d92b29ecf622eb11c138ab550 (diff)
downloadimv-f58e81288b2138d1b532cf11fb95bbcbac362a4e.tar.gz
Rename imv-folder to imv-dir
There is no such thing as 'folder' in Unix. We only have directories (also sometimes called 'catalogs').
-rwxr-xr-xcontrib/imv-dir (renamed from contrib/imv-folder)0
-rw-r--r--doc/imv-dir.1.txt (renamed from doc/imv-folder.1.txt)6
-rw-r--r--doc/imv.1.txt2
-rw-r--r--files/imv-dir.desktop (renamed from files/imv-folder.desktop)6
-rw-r--r--meson.build6
5 files changed, 10 insertions, 10 deletions
diff --git a/contrib/imv-folder b/contrib/imv-dir
index d9fb46f..d9fb46f 100755
--- a/contrib/imv-folder
+++ b/contrib/imv-dir
diff --git a/doc/imv-folder.1.txt b/doc/imv-dir.1.txt
index a9d627b..16f6b95 100644
--- a/doc/imv-folder.1.txt
+++ b/doc/imv-dir.1.txt
@@ -8,18 +8,18 @@ imv (1)
Name
----
-imv-folder - Open 'imv' for all images in a folder
+imv-dir - Open 'imv' for all images in a directory
Description
-----------
-'imv-folder' is a wrapper for 'imv' that auto-selects the folder where the image is located, so that the *next* and *previous* commands function in the same way as other image viewers.
+'imv-dir' is a wrapper for 'imv' that auto-selects the directory where the image is located, so that the *next* and *previous* commands function in the same way as other image viewers.
Note that this wrapper supports only a single image. For opening multiple images, use plain `imv`.
Synopsis
--------
-'imv-folder' path
+'imv-dir' path
Authors
-------
diff --git a/doc/imv.1.txt b/doc/imv.1.txt
index cc79e71..db7e7e2 100644
--- a/doc/imv.1.txt
+++ b/doc/imv.1.txt
@@ -330,4 +330,4 @@ Full source code and other information can be found at
See Also
--------
-**imv**(5) **imv-msg**(1) **imv-folder**(1)
+**imv**(5) **imv-msg**(1) **imv-dir**(1)
diff --git a/files/imv-folder.desktop b/files/imv-dir.desktop
index 4bec770..5f04f86 100644
--- a/files/imv-folder.desktop
+++ b/files/imv-dir.desktop
@@ -1,10 +1,10 @@
[Desktop Entry]
-Name=imv-folder
+Name=imv-dir
Name[en_US]=imv
GenericName=Image viewer
GenericName[en_US]=Image viewer
-Comment=Fast freeimage-based Image Viewer | Open all images on a folder
-Exec=imv-folder %f
+Comment=Fast freeimage-based Image Viewer | Open all images in a directory
+Exec=imv-dir %f
NoDisplay=true
Terminal=false
Type=Application
diff --git a/meson.build b/meson.build
index 840ff60..7cf64b5 100644
--- a/meson.build
+++ b/meson.build
@@ -159,7 +159,7 @@ endforeach
if get_option('contrib-commands')
install_data(
- files('contrib/imv-folder'),
+ files('contrib/imv-dir'),
install_dir: get_option('bindir'),
install_mode: 'rwxr-xr-x',
)
@@ -178,7 +178,7 @@ desktop_list = [
]
if get_option('contrib-commands')
desktop_list += [
- 'imv-folder',
+ 'imv-dir',
]
endif
foreach desktop: desktop_list
@@ -221,7 +221,7 @@ if prog_a2x.found()
]
if get_option('contrib-commands')
man_list += [
- [1, 'imv-folder'],
+ [1, 'imv-dir'],
]
endif