~exec64/imv

f58e81288b2138d1b532cf11fb95bbcbac362a4e — Maxim Karasev 10 months ago daea88c
Rename imv-folder to imv-dir

There is no such thing as 'folder' in Unix. We only have directories
(also sometimes called 'catalogs').
5 files changed, 10 insertions(+), 10 deletions(-)

R contrib/{imv-folder => imv-dir}
R doc/{imv-folder.1.txt => imv-dir.1.txt}
M doc/imv.1.txt
R files/{imv-folder.desktop => imv-dir.desktop}
M meson.build
R contrib/imv-folder => contrib/imv-dir +0 -0
R doc/imv-folder.1.txt => doc/imv-dir.1.txt +3 -3
@@ 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
-------

M doc/imv.1.txt => doc/imv.1.txt +1 -1
@@ 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)

R files/imv-folder.desktop => files/imv-dir.desktop +3 -3
@@ 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

M meson.build => meson.build +3 -3
@@ 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