Last active
November 11, 2021 16:59
-
-
Save JakeJing/6065ee9c67ec1b940b1ac320728f19a5 to your computer and use it in GitHub Desktop.
preview pdfs 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
filetype *.pdf open -a Preview %f & | |
fileviewer *.pdf | |
\ tput cup %py %px > /dev/tty && sips -s format jpeg %c --out /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