From ca80f73ef21aca8459382f13091f67c37c943b79 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Wed, 24 Apr 2024 11:35:35 -0500 Subject: [PATCH] add termux support to the Makefile --- Makefile | 29 +++++++++++++++++++++++++++++ builds/utils/sh/start-termux-xorg | 4 ++++ 2 files changed, 33 insertions(+) create mode 100644 Makefile create mode 100755 builds/utils/sh/start-termux-xorg diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f04f794 --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +termux: termux-pkgs termux-dots utils-sh st + +st: + cd builds/st/ && CC=clang make && cp st ~/.local/bin/st + +utils-sh: + cp builds/utils/sh/* ~/.local/bin + +termux-pkgs: + pkg install \ + neovim \ + git \ + tigervnc \ + sxhkd \ + clang \ + fontconfig \ + xorgproto \ + fzy \ + libxft \ + firefox \ + htop \ + pkg-config \ + bspwm \ + x11-repo + +termux-dots: + ln -sf $(CURDIR)/.config ~/.config + ln -sf ~/.config/bash/bashrc ~/.bashrc + ln -sf ~/.config/bash/profile ~/.bash_profile diff --git a/builds/utils/sh/start-termux-xorg b/builds/utils/sh/start-termux-xorg new file mode 100755 index 0000000..6172eb2 --- /dev/null +++ b/builds/utils/sh/start-termux-xorg @@ -0,0 +1,4 @@ +vncserver -localhost +export DISPLAY=":1" +sxhkd & +bspwm &