first commit

This commit is contained in:
Matt Anderson
2026-03-28 10:40:48 -05:00
commit 605c99bc01
36 changed files with 14317 additions and 0 deletions

27
termux/switch-theme.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
# Switch between dark and light themes in Termux
THEME=${1:-dark}
TERMUX_DIR="$HOME/.termux"
case $THEME in
dark|onedark)
cp "$TERMUX_DIR/colors.properties" "$TERMUX_DIR/colors-current.properties.bak" 2>/dev/null
cp "$TERMUX_DIR/colors.properties" "$TERMUX_DIR/colors-current.properties"
echo "Switched to One Dark theme"
;;
light|onelight)
cp "$TERMUX_DIR/colors.properties" "$TERMUX_DIR/colors-current.properties.bak" 2>/dev/null
cp "$TERMUX_DIR/colors-light.properties" "$TERMUX_DIR/colors.properties"
echo "Switched to One Light theme"
;;
*)
echo "Usage: $0 {dark|light}"
echo " dark/onedark - Switch to One Dark theme"
echo " light/onelight - Switch to One Light theme"
exit 1
;;
esac
# Reload Termux styling
termux-reload-settings 2>/dev/null || echo "Run 'termux-reload-settings' or restart Termux to apply changes"