repo: geminiclient
action: commit
revision: 
path_from: 
revision_from: fea4b5fa749b9e7a563659d8dcb4c867934c6237:
path_to: 
revision_to: 
git.thebackupbox.net
geminiclient
git clone git://git.thebackupbox.net/geminiclient
commit fea4b5fa749b9e7a563659d8dcb4c867934c6237
Author: epoch 
Date:   Sat Jun 20 08:24:11 2020 -0500

    missed a few files last commit

diff --git a/run_stdio_handler_by_mime_type b/run_stdio_handler_by_mime_type
new file mode 100755
index 0000000000000000000000000000000000000000..11182ff53a776d2c6dcc496283f4e9aaa479f526
--- /dev/null
+++ b/run_stdio_handler_by_mime_type
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+### this script is temporary
+### how long until I get around to removing this?
+
+case "$1" in
+text/plain)
+  x-terminal-emulator -e less -f <(nonblocktail /dev/stdin)
+  exit 0
+  ;;
+audio/*)
+  mpv -
+  exit 0
+  ;;
+*)
+  exit 1
+  ;;
+esac
diff --git a/set_terminal_title b/set_terminal_title
new file mode 100755
index 0000000000000000000000000000000000000000..b5daa913d7fe14f02844a5fb9737251859f93ce6
--- /dev/null
+++ b/set_terminal_title
@@ -0,0 +1,2 @@
+#!/bin/sh
+printf '\033]0;%s\a' "$@"
diff --git a/uri_write_cache b/uri_write_cache
new file mode 100755
index 0000000000000000000000000000000000000000..a373536cf56d2eb4d3ebcb4e340ea33a64b8e595
--- /dev/null
+++ b/uri_write_cache
@@ -0,0 +1,6 @@
+#!/bin/sh
+uri="$1"
+mkdir -p ${PREFIX}/.local/cache/uri
+filename=${PREFIX}/.local/cache/uri/"$(printf "%s\n" "$uri" | sha256sum | cut '-d ' -f1)"
+cat > "$filename"
+printf "file://%s\n" "$filename"

-----END OF PAGE-----