From 91bd0a0154f0f50291d4ad7bdaaa2dcb75b8c553 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 7 May 2014 16:03:19 +0400 Subject: [PATCH] Replace spaces in the filename and set as the title By default xli cut filename up to the first space or dot. --- .mc/menu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mc/menu b/.mc/menu index 2a1f447..9ea9698 100644 --- 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)$ -- 2.39.2