]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/menu
Replace spaces in the filename and set as the title
[dotfiles.git] / .mc / menu
index 2a1f44729744c8145473bea2dd0e45a93bbe13d1..9ea9698aec21de582fb7404f3ca9b37a728a1765 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -76,11 +76,11 @@ x  xls2csv
 + t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|png|PNG|xpm)$ | t t
 = t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|png|PNG|xpm)$
 i  View image(s) scaled
-   xli -zoom auto %s &
+   xli -title "`echo %s | sed 's/ /_/g'`" -zoom auto %s &
 
 + t r & f \.(bmp|BMP|gif|GIF|jpg|JPG|jpeg|JPEG|png|PNG|xpm)$ | t t
 I  View image(s) full size
-   xli %s &
+   xli -title "`echo %s | sed 's/ /_/g'`" %s &
 
 + t r & f \.(ico|jp2|tif|TIF|tiff|TIFF)$ | t t
 = t r & f \.(ico|jp2|tif|TIF|tiff|TIFF)$