Last active
November 11, 2021 17:01
-
-
Save JakeJing/b6fb0a644c0037e27a09516c724e454a to your computer and use it in GitHub Desktop.
preview videos in vifm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Video | |
| filetype *.gif,*.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob, | |
| \*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx, | |
| \*.as[fx] | |
| \ {Open in IINA} | |
| \ open -a IINA.app, | |
| \ {Open in QuickTime Player} | |
| \ open -a QuickTime\ Player.app, | |
| \ {Open in MPlayerX} | |
| \ open -a MPlayerX.app, | |
| fileviewer *.gif,*.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,*.as[fx] | |
| \ tput cup %py %px > /dev/tty && ffmpeg -y -hide_banner -loglevel panic -i %c -ss 00:00:01.000 -vframes 1 /tmp/tempfile.jpg > /dev/null && kitty +kitten icat --transfer-mode=file --place=%pwx%ph@%pxx%py /tmp/tempfile.jpg %N | |
| \ %pc | |
| \ kitty +kitten icat --transfer-mode=file --place=%pwx%ph@%pxx%py --clear %N |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment