From 76a48b2f7911a30fde8927cbfd276e70989ba85d Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 11 Sep 2026 16:02:07 -0400 Subject: [PATCH] add termux.properties --- .chezmoiignore | 4 ++ dot_termux/termux.properties | 93 ++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 dot_termux/termux.properties diff --git a/.chezmoiignore b/.chezmoiignore index 90f4c17..3830911 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -16,3 +16,7 @@ README.md {{ if or (eq .chezmoi.hostname "daybreak") (eq .chezmoi.hostname "epoch") (eq .chezmoi.hostname "circadian") (eq .chezmoi.hostname "twilight") (env "ANDROID_ROOT") }} .config/python {{ end }} + +{{ if not (env "ANDROID_ROOT") }} +.termux/termux.properties +{{ end }} diff --git a/dot_termux/termux.properties b/dot_termux/termux.properties new file mode 100644 index 0000000..e4cb37e --- /dev/null +++ b/dot_termux/termux.properties @@ -0,0 +1,93 @@ +# Termux terminal settings. +# Full property reference: https://wiki.termux.com/wiki/Terminal_Settings +# After editing, run `termux-reload-settings` (or restart Termux) to apply. +# +# Every property below is commented out with its built-in default value. +# Only `extra-keys` is actively set, to my custom layout. + +## Dark theme (deprecated by Termux upstream, kept for older versions) +# use-black-ui = false + +## Night mode: true, false, or system +# night-mode = system + +## Fullscreen mode +# fullscreen = false +# use-fullscreen-workaround = false + +## Terminal session shortcuts (hardware keyboard) +# shortcut.create-session = ctrl + t +# shortcut.next-session = ctrl + 2 +# shortcut.previous-session = ctrl + 1 +# shortcut.rename-session = ctrl + n + +## Bell character behaviour: vibrate, beep, or ignore +# bell-character = vibrate + +## Back key behaviour: back, or escape +# back-key = back + +## Extra keys row: which keys appear, and in what layout. + +## Extra keys glyph style: default, arrows-only, arrows-all, all, or none +# extra-keys-style = default + +## Whether extra keys text labels are auto-capitalized +# extra-keys-text-all-caps = true + +## Terminal toolbar (extra keys row) height scale factor, between 0.4 and 3 +# terminal-toolbar-height = 1 + +## Terminal cursor style: block, underline, or bar +# terminal-cursor-style = block + +## Terminal cursor blink rate in ms, 0 disables blinking +# terminal-cursor-blink-rate = 0 + +## Terminal scrollback transcript rows +# terminal-transcript-rows = 2000 + +## Terminal margin (dp) - horizontal (left/right) and vertical (top/bottom) +# terminal-margin-horizontal = 3 +# terminal-margin-vertical = 0 + +## Default working directory for new sessions +# default-working-directory = /data/data/com.termux/files/home + +## Workaround for keyboards (e.g. some Samsung keyboards) that don't send +## input until Enter is pressed +# enforce-char-based-input = false + +## Workaround for devices where ctrl+space doesn't work (e.g. in emacs) +# ctrl-space-workaround = false + +## Hide the soft keyboard when Termux starts +# hide-soft-keyboard-on-startup = false + +## Soft keyboard toggle behaviour: show/hide, or enable/disable +# soft-keyboard-toggle-behaviour = show/hide + +## Volume key behaviour: virtual (special keys via volume+key), or volume +# volume-keys = virtual + +## Disable hardware keyboard hotkeys (e.g. ctrl+alt+arrows for the drawer) +# disable-hardware-keyboard-shortcuts = false + +## Disable the toast shown when switching terminal sessions +# disable-terminal-session-change-toast = false + +## Whether terminal URLs open automatically on click vs. requiring a tap +# terminal-onclick-url-open = false + +## Delete files in $TMPDIR older than X days on exit. -1 disables, 0 = all +# delete-tmpdir-files-older-than-x-days-on-exit = 3 + +## Run the termux-am socket server at app startup +# run-termux-am-socket-server = true + +## Disable the file share / file view intent receivers +# disable-file-share-receiver = false +# disable-file-view-receiver = false + +## Allow other apps to run commands in Termux via RUN_COMMAND intent +# allow-external-apps = false