Adds script that opens html parsed to stdin to browser

This commit is contained in:
Jonathan Hodgson 2020-04-30 21:35:29 +01:00
parent 038252b4e8
commit eb81862ab5

3
bin/.bin/pipebrowser Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
# From here: https://unix.stackexchange.com/a/86897
"$BROWSER" "data:text/html;base64,$(base64 -w 0 <&0)"