r/ScriptSwap • u/xereeto #!/bin/bash • Nov 11 '12
[bash] Image viewer for virtual terminals/xterm
Requires: w3m, w3m-img
Since fbi and zgv require root to view images, I was annoyed I needed a password to view images. Then I realised that w3wn can display images without root, but you can't invoke w3m with an image, so I made a script to put the image in a custom HTML file and load it from that. Enjoy!
5
Upvotes
View all comments
Show parent comment
1
u/xereeto #!/bin/bash Nov 12 '12
I made this because I personally often find myself in a virtual terminal, without X running, and I just want to view an image easily and directly in the VT.