From adaa10ee08546524aab4452ae0dc40bc48cfa2f8 Mon Sep 17 00:00:00 2001 From: Lucas Date: Tue, 17 Dec 2019 22:10:43 +0000 Subject: [PATCH] Add riot-web-ui --- bin/Makefile | 3 ++- bin/riot-web-ui.sh | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 bin/riot-web-ui.sh diff --git a/bin/Makefile b/bin/Makefile index fbc7f5c..57ac756 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -15,7 +15,8 @@ PREFIX = $(HOME) MANPREFIX = $(PREFIX)/local BIN = ZZZ browser credentials fetch flac2ogg imgresize invidious \ - rfcopen screenshot sekrit tor-browser w3m-copy-link xsekrit + riot-web-ui rfcopen screenshot sekrit tor-browser \ + w3m-copy-link xsekrit MAN1 = sekrit.1 all: $(BIN) diff --git a/bin/riot-web-ui.sh b/bin/riot-web-ui.sh new file mode 100644 index 0000000..b647858 --- /dev/null +++ b/bin/riot-web-ui.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# browser +# Written in 2019 by Lucas +# CC0 1.0 Universal/Public domain - No rights reserved +# +# To the extent possible under law, the author(s) have dedicated all +# copyright and related and neighboring rights to this software to the +# public domain worldwide. This software is distributed without any +# warranty. You should have received a copy of the CC0 Public Domain +# Dedication along with this software. If not, see +# . + +scp ~/.Xauthority _riot_web_ui@localhost: +ssh -n _riot_web_ui@localhost -- \ + env DISPLAY=${DISPLAY:-:0} /usr/local/bin/firefox "$@"