From 23674cc02eb05dadeb2c2cc75f4a47997fc08119 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Sat, 20 Jun 2020 10:04:09 +0000 Subject: [PATCH] added termux configs --- termux/.termux/termux.properties | 4 ++++ Makefile | 9 +++++++++ termux/.config/youtube-dl/config | 3 +++ termux/bin/termux-url-opener | 1 + 4 files changed, 17 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 68ba067..c2c08a7 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,14 @@ git submodule update --init $(STOW) -t $(HOME) $@ +.PHONY: termux +termux: shells + $(STOW) -t $(HOME) $@ + +.PHONY: termux-uninstall +termux-uninstall: shells-uninstall + $(STOW) --delete -t $(HOME) $(@:-uninstall=) + .PHONY: shells shells: $(SHELLS) @@ -78,3 +86,4 @@ $(ECHO) ' utils(-uninstall)' $(ECHO) ' fun(-uninstall)' $(ECHO) ' desktop(-uninstall)' + $(ECHO) ' termux(-uninstall)' diff --git a/termux/.config/youtube-dl/config b/termux/.config/youtube-dl/config new file mode 100644 index 0000000..148ec88 --- /dev/null +++ b/termux/.config/youtube-dl/config @@ -0,0 +1,3 @@ +--no-mtime +-o ~/storage/downloads/Youtube/%(title)s.%(ext)s +-f "best[height<=480]" diff --git a/termux/.termux/termux.properties b/termux/.termux/termux.properties new file mode 100644 index 0000000..a107f8f --- /dev/null +++ b/termux/.termux/termux.properties @@ -0,0 +1,4 @@ +extra-keys = [ \ + ['ESC','|','/','HOME','UP','END','-','DEL'], \ + ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','_','BKSP'] \ +] diff --git a/termux/bin/termux-url-opener b/termux/bin/termux-url-opener new file mode 100755 index 0000000..565ba8e --- /dev/null +++ b/termux/bin/termux-url-opener @@ -0,0 +1 @@ +youtube-dl $1 -- Gitblit v1.9.3