Commit 5d3f637a94fc
Changed files (9)
dots/config/boox/bin/sp → android/boox/bin/sp
File renamed without changes
dots/config/boox/bootstrap.sh → android/boox/bootstrap.sh
@@ -1,7 +1,7 @@
#!/data/data/com.termux/files/usr/bin/bash
# Boox Termux bootstrap script
# Run once after fresh Termux install:
-# curl -sL https://raw.githubusercontent.com/<your-repo>/main/dots/config/boox/bootstrap.sh | bash
+# curl -sL https://raw.githubusercontent.com/<your-repo>/main/android/boox/bootstrap.sh | bash
# Or copy via adb and run locally.
set -euo pipefail
@@ -36,15 +36,15 @@ if [ ! -d "$REPO_DIR" ]; then
echo "You need to add the SSH key first. Once added, run:"
echo " git clone git@github.com:<user>/home.git ~/src/home"
echo ""
- echo "Then run: ~/src/home/dots/config/boox/sync.sh"
+ echo "Then run: ~/src/home/android/boox/sync.sh"
else
echo "Repo already cloned."
fi
echo "==> Setting up Termux properties..."
mkdir -p ~/.termux
-cp "$REPO_DIR/dots/config/boox/termux.properties" ~/.termux/termux.properties 2>/dev/null || true
-cp "$REPO_DIR/dots/config/boox/colors.properties" ~/.termux/colors.properties 2>/dev/null || true
+cp "$REPO_DIR/android/boox/termux.properties" ~/.termux/termux.properties 2>/dev/null || true
+cp "$REPO_DIR/android/boox/colors.properties" ~/.termux/colors.properties 2>/dev/null || true
echo "==> Setting zsh as default shell..."
chsh -s zsh 2>/dev/null || true
dots/config/boox/colors.properties → android/boox/colors.properties
File renamed without changes
dots/config/boox/generate-ssh-config.nix → android/boox/generate-ssh-config.nix
@@ -1,10 +1,10 @@
# Generate SSH config for Boox (osaka) Termux
-# Usage: nix eval --raw -f dots/config/boox/generate-ssh-config.nix
+# Usage: nix eval --raw -f android/boox/generate-ssh-config.nix
# Or: make boox/ssh-config
let
pkgs = import <nixpkgs> { };
lib = pkgs.lib;
- globals = import ../../../globals.nix { };
+ globals = import ../../globals.nix { };
# Generate host entries from globals.machines
# Only VPN hosts (Boox connects via WireGuard, not LAN)
dots/config/boox/ssh_config → android/boox/ssh_config
File renamed without changes
dots/config/boox/sync.sh → android/boox/sync.sh
@@ -1,9 +1,9 @@
#!/data/data/com.termux/files/usr/bin/bash
# Sync Boox Termux config from the home repo
-# Run after cloning: ~/src/home/dots/config/boox/sync.sh
+# Run after cloning: ~/src/home/android/boox/sync.sh
set -euo pipefail
-BOOX_DIR="$HOME/src/home/dots/config/boox"
+BOOX_DIR="$HOME/src/home/android/boox"
if [ ! -d "$BOOX_DIR" ]; then
echo "Error: home repo not found at ~/src/home"
dots/config/boox/termux.properties → android/boox/termux.properties
File renamed without changes
dots/config/boox/zshrc → android/boox/zshrc
@@ -89,7 +89,7 @@ alias gl='git log --oneline -20'
alias gp='git pull --ff-only'
# Sync config from repo
-alias boox-sync='~/src/home/dots/config/boox/sync.sh'
+alias boox-sync='~/src/home/android/boox/sync.sh'
# Quick access
alias home='cd ~/src/home'
Makefile
@@ -93,8 +93,8 @@ dots: ## Build dotfiles
.PHONY: boox/ssh-config
boox/ssh-config: ## Generate Boox SSH config from globals.nix
- nix eval --raw -f dots/config/boox/generate-ssh-config.nix > dots/config/boox/ssh_config
- @echo "✅ dots/config/boox/ssh_config regenerated"
+ nix eval --raw -f android/boox/generate-ssh-config.nix > android/boox/ssh_config
+ @echo "✅ android/boox/ssh_config regenerated"
##@ Keyboards