Compare commits

..

2 Commits

Author SHA1 Message Date
6a8d7e2c5c make rebuilds on termux faster 2024-10-26 12:08:22 -05:00
4169e02552 revise keyboard shortcuts 2024-10-26 12:03:57 -05:00
3 changed files with 23 additions and 1 deletions

View File

@ -2,6 +2,9 @@
ctrl + b; c
st
ctrl + b; Return
st
ctrl + b; q
bspc node -c

View File

@ -1,10 +1,22 @@
termux: termux-pkgs termux-dots utils-sh st pip-pkgs git-annex.linux
termux: termux-pkgs termux-dots utils-sh rebuild-sh st pip-pkgs git-annex.linux
list: options # alias
options:
@echo specific options
@echo st - rebuild st
@echo utils-sh - copy utilities
@echo pip-pkgs - install pip packages
@echo termux-pkgs - install termux pkgs
@echo termux-dots - install termux dotfiles
@echo git-annex.linux - install git-annex
st:
cd ../../../builds/st/ && CFLAGS="-DIS_PHONE" CC=clang make && cp st ~/.local/bin/st
utils-sh:
cp ../../../builds/utils/* ~/.local/bin
rebuild-sh:
cp ../../../builds/rebuild/* ~/.local/bin
pip-pkgs:
pip3 install vdirsyncer

View File

@ -1,6 +1,13 @@
#!/bin/sh
cd ~/dot_testing
if [ "$(hostname)" = "localhost" ]; then
# we're on a phone
cd boxes/phone/out-of-tree
make $@
exit
fi
if [ -f "boxes/$(hostname)/custom_command" ]; then
eval "$(cat boxes/$(hostname)/custom_command)"
exit