X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.mc%2Fmenu;h=d9cd8b079113d86b1d2eb34aef8cadf33d69ae75;hb=7bf60629da6a2ca6b1c9ccaf083a787a17a09042;hp=20f4dc706b72a05dbf485cb8d924474ef5b44dd9;hpb=d5c1612ccea29b2474b6b5a57bcbc44d64288fbc;p=dotfiles.git diff --git a/.mc/menu b/.mc/menu index 20f4dc7..d9cd8b0 100644 --- a/.mc/menu +++ b/.mc/menu @@ -71,7 +71,7 @@ e View pdf with evince += t lr & f \.(pdf|PDF)$ e View pdf with qpdfview - if [ "%d/%f" = "`echo %d/%f | iconv -t utf-8`" ]; then qpdfview %f & else src=%d/%f; dest="$HOME/tmp/`echo $src | koi2lat | sed 's!/!%!g'`"; ln -s "$src" "$dest" && qpdfview "$dest" & (sleep 3; exec rm -f "$dest") & fi + if [ "%d/%f" = "`echo %d/%f | iconv -t utf-8`" ]; then qpdfview %f & else src=%d/%f; dest="$HOME/tmp/`echo $src | iconv -t koi8-r | koi2lat | sed 's!/!%!g'`"; ln -s "$src" "$dest" && qpdfview "$dest" & (sleep 3; exec rm -f "$dest") & fi += t lr & f \.djvu(\.bz2|\.gz)?$ e View djvu @@ -178,7 +178,7 @@ P Play the audiofile(s) or playlist(s) + t lr & f \.m3u8? R Play the playlist in random order - "$HOME"/admin/prog/audio-cdr-video/audio/shuffle-playlist.py %f random-playlist-tmp.m3u + "$HOME"/prog/audio-cdr-video/audio/shuffle-playlist.py %f random-playlist-tmp.m3u #if [ "`audtool --get-volume`" -eq 0 ]; then audacious & sleep 3; fi #audtool --playlist-clear #while read song; do @@ -548,6 +548,10 @@ D Diff these directories v Verify signature exec gpg --verify %f ++ f \.(asc|gpg|sig(n)?)$ & t lr +v Verify detached signature + exec gpg --verify %f "`echo %f | sed 's/\.[^.]*$//'`" + += f \.[1-8]$ | f \.man$ & t lr 1 Display the file with roff -man %view nroff -man %f