summaryrefslogtreecommitdiff
path: root/.w3m/cgi-bin/omnibar_twitch.cgi
diff options
context:
space:
mode:
Diffstat (limited to '.w3m/cgi-bin/omnibar_twitch.cgi')
-rwxr-xr-x.w3m/cgi-bin/omnibar_twitch.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/.w3m/cgi-bin/omnibar_twitch.cgi b/.w3m/cgi-bin/omnibar_twitch.cgi
new file mode 100755
index 0000000..9ee5038
--- /dev/null
+++ b/.w3m/cgi-bin/omnibar_twitch.cgi
@@ -0,0 +1,4 @@
+#!/usr/bin/env sh
+QUERY_STRING="${QUERY_STRING//+/%20}"
+echo "w3m-control: BACK"
+echo "w3m-control: TAB_GOTO https://m.twitch.tv/directory/game/$QUERY_STRING"