mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-02-07 15:22:51 +00:00
chore(global): sync termux branch with main branch
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
This commit is contained in:
parent
add93e3ec0
commit
271e12477c
8 changed files with 202 additions and 25 deletions
|
@ -20,5 +20,6 @@ if [ -f "$HOME/.config/localconfig.env" ]; then
|
||||||
. "$HOME/.config/localconfig.env"
|
. "$HOME/.config/localconfig.env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# # shellcheck source=./.bashrc
|
if [[ $FF_BYOBU_ON_LOGIN == "true" ]]; then
|
||||||
source ./.bashrc
|
_byobu_sourced=1 . /data/data/com.termux/files/usr/bin/byobu-launch 2>/dev/null || true
|
||||||
|
fi
|
||||||
|
|
9
.bashrc
9
.bashrc
|
@ -9,11 +9,12 @@
|
||||||
## Stage 0: Init keychain + GPG_TTY for pinentry hellscapes in TUI. ##
|
## Stage 0: Init keychain + GPG_TTY for pinentry hellscapes in TUI. ##
|
||||||
## This stage also initalizes oh-my-posh or custom
|
## This stage also initalizes oh-my-posh or custom
|
||||||
## PSI here. ##
|
## PSI here. ##
|
||||||
if [[ $TERMUX ]]; then
|
export KEYCHAIN_PATH=$(command -v keychain)
|
||||||
export SSH_AGENT_=todo
|
|
||||||
elif command -v keychain >> /dev/null; then
|
if [[ $TERMUX_APP__PACKAGE_NAME ]]; then
|
||||||
|
eval $(keychain --agents ssh --eval)
|
||||||
|
else
|
||||||
# shellcheck disable=SC2155
|
# shellcheck disable=SC2155
|
||||||
export KEYCHAIN_PATH=$(command -v keychain)
|
|
||||||
eval $(keychain --agents gpg,ssh --eval)
|
eval $(keychain --agents gpg,ssh --eval)
|
||||||
fi
|
fi
|
||||||
# shellcheck disable=SC2155
|
# shellcheck disable=SC2155
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||||
# The parser is also very primitive, and not human-friendly.
|
# The parser is also very primitive, and not human-friendly.
|
||||||
|
htop_version=3.3.0
|
||||||
|
config_reader_min_version=3
|
||||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||||
sort_key=46
|
|
||||||
sort_direction=-1
|
|
||||||
tree_sort_key=47
|
|
||||||
tree_sort_direction=-1
|
|
||||||
hide_kernel_threads=1
|
hide_kernel_threads=1
|
||||||
hide_userland_threads=0
|
hide_userland_threads=0
|
||||||
|
hide_running_in_container=0
|
||||||
shadow_other_users=1
|
shadow_other_users=1
|
||||||
show_thread_names=1
|
show_thread_names=1
|
||||||
show_program_path=1
|
show_program_path=1
|
||||||
highlight_base_name=1
|
highlight_base_name=1
|
||||||
|
highlight_deleted_exe=1
|
||||||
|
shadow_distribution_path_prefix=0
|
||||||
highlight_megabytes=1
|
highlight_megabytes=1
|
||||||
highlight_threads=1
|
highlight_threads=1
|
||||||
highlight_changes=0
|
highlight_changes=0
|
||||||
|
@ -18,22 +19,43 @@ highlight_changes_delay_secs=5
|
||||||
find_comm_in_cmdline=1
|
find_comm_in_cmdline=1
|
||||||
strip_exe_from_cmdline=1
|
strip_exe_from_cmdline=1
|
||||||
show_merged_command=1
|
show_merged_command=1
|
||||||
tree_view=0
|
|
||||||
tree_view_always_by_pid=0
|
|
||||||
header_margin=1
|
header_margin=1
|
||||||
|
screen_tabs=0
|
||||||
detailed_cpu_time=1
|
detailed_cpu_time=1
|
||||||
cpu_count_from_one=1
|
cpu_count_from_one=1
|
||||||
show_cpu_usage=1
|
show_cpu_usage=1
|
||||||
show_cpu_frequency=1
|
show_cpu_frequency=1
|
||||||
show_cpu_temperature=1
|
|
||||||
degree_fahrenheit=0
|
|
||||||
update_process_names=1
|
update_process_names=1
|
||||||
account_guest_in_cpu_meter=1
|
account_guest_in_cpu_meter=1
|
||||||
color_scheme=0
|
color_scheme=0
|
||||||
enable_mouse=1
|
enable_mouse=1
|
||||||
delay=5
|
delay=5
|
||||||
left_meters=AllCPUs Memory Swap DiskIO NetworkIO
|
|
||||||
left_meter_modes=1 1 1 1 1
|
|
||||||
right_meters=Hostname Tasks LoadAverage Uptime DateTime
|
|
||||||
right_meter_modes=2 2 2 2 2
|
|
||||||
hide_function_bar=0
|
hide_function_bar=0
|
||||||
|
header_layout=two_50_50
|
||||||
|
column_meters_0=AllCPUs Memory Swap DiskIO NetworkIO
|
||||||
|
column_meter_modes_0=1 1 1 1 1
|
||||||
|
column_meters_1=Hostname Tasks LoadAverage Uptime DateTime
|
||||||
|
column_meter_modes_1=2 2 2 2 2
|
||||||
|
tree_view=1
|
||||||
|
sort_key=46
|
||||||
|
tree_sort_key=47
|
||||||
|
sort_direction=-1
|
||||||
|
tree_sort_direction=-1
|
||||||
|
tree_view_always_by_pid=0
|
||||||
|
all_branches_collapsed=0
|
||||||
|
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
|
||||||
|
.sort_key=PERCENT_CPU
|
||||||
|
.tree_sort_key=PERCENT_MEM
|
||||||
|
.tree_view_always_by_pid=0
|
||||||
|
.tree_view=1
|
||||||
|
.sort_direction=-1
|
||||||
|
.tree_sort_direction=-1
|
||||||
|
.all_branches_collapsed=0
|
||||||
|
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE Command
|
||||||
|
.sort_key=IO_RATE
|
||||||
|
.tree_sort_key=PID
|
||||||
|
.tree_view_always_by_pid=0
|
||||||
|
.tree_view=0
|
||||||
|
.sort_direction=-1
|
||||||
|
.tree_sort_direction=1
|
||||||
|
.all_branches_collapsed=0
|
||||||
|
|
|
@ -82,8 +82,8 @@
|
||||||
# path = ~/.config/git/ajhalili2006-experiments.include.gitconfig
|
# path = ~/.config/git/ajhalili2006-experiments.include.gitconfig
|
||||||
#[includeIf "gitdir/i:~/projects/labs.andreijiroh.dev"]
|
#[includeIf "gitdir/i:~/projects/labs.andreijiroh.dev"]
|
||||||
# path = ~/.config/git/ajhalili2006-experiments.include.gitconfig
|
# path = ~/.config/git/ajhalili2006-experiments.include.gitconfig
|
||||||
[includeIf "gitdir/i:~/git-projects/recaptime.dev/"]
|
#[includeIf "gitdir/i:~/git-projects/recaptime.dev/"]
|
||||||
path = ~/.config/git/recaptime-dev.include.gitconfig
|
# path = ~/.config/git/recaptime-dev.include.gitconfig
|
||||||
[includeIf "gitdir/i:~/projects/recaptime.dev/"]
|
[includeIf "gitdir/i:~/projects/recaptime.dev/"]
|
||||||
path = ~/.config/git/recaptime-dev.include.gitconfig
|
path = ~/.config/git/recaptime-dev.include.gitconfig
|
||||||
[includeIf "gitdir/i:/workspaces/recaptime.dev/"]
|
[includeIf "gitdir/i:/workspaces/recaptime.dev/"]
|
||||||
|
@ -107,3 +107,5 @@
|
||||||
command = echo \"$(git config user.name) <$(git config user.email)>\"
|
command = echo \"$(git config user.name) <$(git config user.email)>\"
|
||||||
[push]
|
[push]
|
||||||
autoSetupRemote = true
|
autoSetupRemote = true
|
||||||
|
[safe]
|
||||||
|
directory = /storage/emulated/0/Documents/git/recaptime-dev/proxyparty
|
||||||
|
|
7
.nanorc
7
.nanorc
|
@ -4,7 +4,7 @@
|
||||||
# SPDX-License-Identifier: MIT AND MPL-2.0 (excluding third party code)
|
# SPDX-License-Identifier: MIT AND MPL-2.0 (excluding third party code)
|
||||||
|
|
||||||
# Display line numbers to the left (and any anchors in the margin).
|
# Display line numbers to the left (and any anchors in the margin).
|
||||||
set linenumbers
|
#set linenumbers
|
||||||
|
|
||||||
# Enable vim-style lock-files. This is just to let a vim user know you
|
# Enable vim-style lock-files. This is just to let a vim user know you
|
||||||
# are editing a file [s]he is trying to edit and vice versa. There are
|
# are editing a file [s]he is trying to edit and vice versa. There are
|
||||||
|
@ -44,7 +44,10 @@ set trimblanks
|
||||||
|
|
||||||
# import included syntax highlighting for nano
|
# import included syntax highlighting for nano
|
||||||
# TODO: Load them via ~/.local/share/nano for portability
|
# TODO: Load them via ~/.local/share/nano for portability
|
||||||
include "/usr/share/nano/*.nanorc"
|
#include "/usr/share/nano/*.nanorc"
|
||||||
|
# actually commented out since it is included by default on
|
||||||
|
# the bootstrap process
|
||||||
|
#include "/usr/share/nano/*.nanorc"
|
||||||
|
|
||||||
# Make regularly-used features have more usual shortcuts
|
# Make regularly-used features have more usual shortcuts
|
||||||
bind M-Z suspend main
|
bind M-Z suspend main
|
||||||
|
|
2
.nvm
2
.nvm
|
@ -1 +1 @@
|
||||||
Subproject commit 4beab63631764fc381a0e56273faf8d43b8f9509
|
Subproject commit 762f9ef9d17623b45095e8ca1a996c8928f3f424
|
5
.profile
5
.profile
|
@ -19,7 +19,7 @@ if [ -d "$HOME/.local/bin" ] ; then
|
||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export PATH="/usr/local/bin:$HOME/.local/bin:$HOME/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts" # ~vern specifics and more
|
#export PATH="/usr/local/bin:$HOME/.local/bin:$HOME/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts" # ~vern specifics and more
|
||||||
mesg n 2> /dev/null || true
|
mesg n 2> /dev/null || true
|
||||||
|
|
||||||
# then import the rest
|
# then import the rest
|
||||||
|
@ -59,5 +59,6 @@ then
|
||||||
fi
|
fi
|
||||||
##########################################################################################
|
##########################################################################################
|
||||||
|
|
||||||
if [[ $FF_BYOBU_ON_LOGIN != "" ]]; then
|
if [[ $FF_BYOBU_ON_LOGIN == "true" ]]; then
|
||||||
|
_byobu_sourced=1 . /data/data/com.termux/files/usr/bin/byobu-launch 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
|
|
147
.termux/termux.properties
Normal file
147
.termux/termux.properties
Normal file
|
@ -0,0 +1,147 @@
|
||||||
|
### After making changes and saving you need to run `termux-reload-settings`
|
||||||
|
### to update the terminal. All information here can also be found on the
|
||||||
|
### wiki: https://wiki.termux.com/wiki/Terminal_Settings
|
||||||
|
|
||||||
|
###############
|
||||||
|
# General
|
||||||
|
###############
|
||||||
|
|
||||||
|
### Allow external applications to execute arbitrary commands within Termux.
|
||||||
|
### This potentially could be a security issue, so option is disabled by
|
||||||
|
### default. Uncomment to enable.
|
||||||
|
# allow-external-apps = true
|
||||||
|
|
||||||
|
### Default working directory that will be used when launching the app.
|
||||||
|
# default-working-directory = /data/data/com.termux/files/home
|
||||||
|
|
||||||
|
### Uncomment to disable toasts shown on terminal session change.
|
||||||
|
disable-terminal-session-change-toast = true
|
||||||
|
|
||||||
|
### Uncomment to not show soft keyboard on application start.
|
||||||
|
hide-soft-keyboard-on-startup = true
|
||||||
|
|
||||||
|
### Uncomment to let keyboard toggle button to enable or disable software
|
||||||
|
### keyboard instead of showing/hiding it.
|
||||||
|
# soft-keyboard-toggle-behaviour = enable/disable
|
||||||
|
|
||||||
|
### Adjust terminal scrollback buffer. Max is 50000. May have negative
|
||||||
|
### impact on performance.
|
||||||
|
terminal-transcript-rows = 5000
|
||||||
|
|
||||||
|
### Uncomment to use volume keys for adjusting volume and not for the
|
||||||
|
### extra keys functionality.
|
||||||
|
# volume-keys = volume
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Fullscreen mode
|
||||||
|
###############
|
||||||
|
|
||||||
|
### Uncomment to let Termux start in full screen mode.
|
||||||
|
fullscreen = true
|
||||||
|
|
||||||
|
### Uncomment to attempt workaround layout issues when running in
|
||||||
|
### full screen mode.
|
||||||
|
#use-fullscreen-workaround = true
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Cursor
|
||||||
|
###############
|
||||||
|
|
||||||
|
### Cursor blink rate. Values 0, 100 - 2000.
|
||||||
|
# terminal-cursor-blink-rate = 0
|
||||||
|
|
||||||
|
### Cursor style: block, bar, underline.
|
||||||
|
# terminal-cursor-style = block
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Extra keys
|
||||||
|
###############
|
||||||
|
|
||||||
|
### Settings for choosing which set of symbols to use for illustrating keys.
|
||||||
|
### Choose between default, arrows-only, arrows-all, all and none
|
||||||
|
extra-keys-style = arrows-all
|
||||||
|
|
||||||
|
### Force capitalize all text in extra keys row button labels.
|
||||||
|
# extra-keys-text-all-caps = true
|
||||||
|
|
||||||
|
### Default extra-key configuration
|
||||||
|
# extra-keys = [[ESC, TAB, CTRL, ALT, {key: '-', popup: '|'}, DOWN, UP]]
|
||||||
|
|
||||||
|
### Two rows with more keys
|
||||||
|
extra-keys = [ \
|
||||||
|
['ESC', {key: '-', popout: '|'},'/','HOME','UP','END','PGUP','DEL'], \
|
||||||
|
['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN','BKSP'] \
|
||||||
|
]
|
||||||
|
|
||||||
|
### Configuration with additional popup keys (swipe up from an extra key)
|
||||||
|
# extra-keys = [[ \
|
||||||
|
# {key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \
|
||||||
|
# {key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \
|
||||||
|
# {key: ALT, popup: {macro: "CTRL f TAB", display: "tmux →"}}, \
|
||||||
|
# {key: TAB, popup: {macro: "ALT a", display: A-a}}, \
|
||||||
|
# {key: LEFT, popup: HOME}, \
|
||||||
|
# {key: DOWN, popup: PGDN}, \
|
||||||
|
# {key: UP, popup: PGUP}, \
|
||||||
|
# {key: RIGHT, popup: END}, \
|
||||||
|
# {macro: "ALT j", display: A-j, popup: {macro: "ALT g", display: A-g}}, \
|
||||||
|
# {key: KEYBOARD, popup: {macro: "CTRL d", display: exit}} \
|
||||||
|
# ]]
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Colors/themes
|
||||||
|
###############
|
||||||
|
|
||||||
|
### Force black colors for drawer and dialogs
|
||||||
|
# use-black-ui = true
|
||||||
|
|
||||||
|
###############
|
||||||
|
# HW keyboard shortcuts
|
||||||
|
###############
|
||||||
|
|
||||||
|
### Disable hardware keyboard shortcuts.
|
||||||
|
# disable-hardware-keyboard-shortcuts = true
|
||||||
|
|
||||||
|
### Open a new terminal with ctrl + t (volume down + t)
|
||||||
|
# shortcut.create-session = ctrl + t
|
||||||
|
|
||||||
|
### Go one session down with (for example) ctrl + 2
|
||||||
|
# shortcut.next-session = ctrl + 2
|
||||||
|
|
||||||
|
### Go one session up with (for example) ctrl + 1
|
||||||
|
# shortcut.previous-session = ctrl + 1
|
||||||
|
|
||||||
|
### Rename a session with (for example) ctrl + n
|
||||||
|
# shortcut.rename-session = ctrl + n
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Bell key
|
||||||
|
###############
|
||||||
|
|
||||||
|
### Vibrate device (default).
|
||||||
|
# bell-character = vibrate
|
||||||
|
|
||||||
|
### Beep with a sound.
|
||||||
|
# bell-character = beep
|
||||||
|
|
||||||
|
### Ignore bell character.
|
||||||
|
# bell-character = ignore
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Back key
|
||||||
|
###############
|
||||||
|
|
||||||
|
### Send the Escape key.
|
||||||
|
# back-key=escape
|
||||||
|
|
||||||
|
### Hide keyboard or leave app (default).
|
||||||
|
# back-key=back
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Keyboard issue workarounds
|
||||||
|
###############
|
||||||
|
|
||||||
|
### Letters might not appear until enter is pressed on Samsung devices
|
||||||
|
# enforce-char-based-input = true
|
||||||
|
|
||||||
|
### ctrl+space (for marking text in emacs) does not work on some devices
|
||||||
|
# ctrl-space-workaround = true
|
Loading…
Reference in a new issue