Enable vifm image previews
This commit is contained in:
parent
62610c82c5
commit
ef7c6ba8c8
4 changed files with 179 additions and 1 deletions
7
.config/shell/rc.d/vifm-to-vm.sh
Normal file
7
.config/shell/rc.d/vifm-to-vm.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Check for existence of vifm command. If found, substitute vifm with it.
|
||||
type vifm >/dev/null 2>&1 && alias vm=vifm
|
||||
|
||||
# Check for existence of vifmrun command. If found, substitute vifm with it.
|
||||
type vifmrun >/dev/null 2>&1 && alias vifm=vifmrun
|
||||
|
|
@ -241,7 +241,9 @@ filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
|||
\ {View in shotwell}
|
||||
\ feh,
|
||||
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||
\ convert -identify %f -verbose /dev/null
|
||||
\ vifmimg draw %px %py %pw %ph %c
|
||||
\ %pc
|
||||
\ vifmimg clear
|
||||
|
||||
" OpenRaster
|
||||
filextype *.ora
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue