Rename imv-folder to imv-dir

There is no such thing as 'folder' in Unix. We only have directories
(also sometimes called 'catalogs').
This commit is contained in:
Maxim Karasev 2021-09-29 23:56:52 +03:00 committed by Harry Jeffery
parent daea88c572
commit f58e81288b
5 changed files with 10 additions and 10 deletions

View file

@ -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
-------

View file

@ -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)

View file

@ -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

View file

@ -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