first commit
This commit is contained in:
32
termux/.termux/colors-light.properties
Normal file
32
termux/.termux/colors-light.properties
Normal file
@@ -0,0 +1,32 @@
|
||||
# Termux colors - One Light theme (matches Ghostty)
|
||||
# Generated from ghostty/.config/ghostty/themes/onelight
|
||||
|
||||
# Normal colors
|
||||
color0=#000000
|
||||
color1=#b6443a
|
||||
color2=#40803f
|
||||
color3=#795300
|
||||
color4=#3360c1
|
||||
color5=#841e83
|
||||
color6=#006996
|
||||
color7=#6d6d59
|
||||
|
||||
# Bright colors
|
||||
color8=#000000
|
||||
color9=#b6443a
|
||||
color10=#40803f
|
||||
color11=#795300
|
||||
color12=#3360c1
|
||||
color13=#841e83
|
||||
color14=#006996
|
||||
color15=#ccccc0
|
||||
|
||||
# Background and foreground
|
||||
background=#eeeeee
|
||||
foreground=#2a2b33
|
||||
|
||||
# Cursor
|
||||
cursor=#2a2b33
|
||||
|
||||
# Selection
|
||||
selection=#ccccc0
|
||||
32
termux/.termux/colors.properties
Normal file
32
termux/.termux/colors.properties
Normal file
@@ -0,0 +1,32 @@
|
||||
# Termux colors - One Dark theme (matches Ghostty)
|
||||
# Generated from ghostty/.config/ghostty/themes/onedark
|
||||
|
||||
# Normal colors
|
||||
color0=#282c34
|
||||
color1=#e06c75
|
||||
color2=#98c379
|
||||
color3=#e5c07b
|
||||
color4=#61afef
|
||||
color5=#c678dd
|
||||
color6=#56b6c2
|
||||
color7=#abb2bf
|
||||
|
||||
# Bright colors
|
||||
color8=#5f687b
|
||||
color9=#e06c75
|
||||
color10=#98c379
|
||||
color11=#e5c07b
|
||||
color12=#61afef
|
||||
color13=#c678dd
|
||||
color14=#56b6c2
|
||||
color15=#bfc5ce
|
||||
|
||||
# Background and foreground
|
||||
background=#111111
|
||||
foreground=#abb2bf
|
||||
|
||||
# Cursor
|
||||
cursor=#abb2bf
|
||||
|
||||
# Selection
|
||||
selection=#282c34
|
||||
16
termux/.termux/termux.properties
Normal file
16
termux/.termux/termux.properties
Normal file
@@ -0,0 +1,16 @@
|
||||
# Termux app settings
|
||||
# Place at ~/.termux/termux.properties
|
||||
|
||||
# Font
|
||||
# Install: pkg install termux-api && termux-setup-storage
|
||||
# Then place font in ~/.termux/font.ttf
|
||||
# Using JetBrains Mono or SF Mono if available
|
||||
|
||||
# Extra keys for easier typing on mobile
|
||||
extra-keys = [['ESC','TAB','/','-','HOME','UP','END','PGUP'],['CTRL','ALT','KEYBOARD','LEFT','DOWN','RIGHT','PGDN','BACKSLASH']]
|
||||
|
||||
# Bell
|
||||
bell-character = ignore
|
||||
|
||||
# Terminal transcript
|
||||
# termux-transcript-mode = true
|
||||
27
termux/switch-theme.sh
Executable file
27
termux/switch-theme.sh
Executable 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"
|
||||
Reference in New Issue
Block a user