recent updates to random config stuff

This commit is contained in:
agryphus 2024-12-11 15:06:14 -05:00
parent 1df0f9f5f6
commit 8b55484b02
8 changed files with 33 additions and 24 deletions

View file

@ -1,5 +1,5 @@
# Vertical Candidate List
Vertical Candidate List=False
Vertical Candidate List=True
# Use Per Screen DPI
PerScreenDPI=True
# Use mouse wheel to go to prev or next page

View file

@ -30,6 +30,8 @@ inner-pad=0
[colors]
background=000000dd
text=ebdbb2ff
prompt=ebdbb2ff
input=ebdbb2ff
# match=cb4b16ff
selection=ebdbb2ff
selection-text=000000ff

View file

@ -109,6 +109,7 @@ function pwdterm {
function ya() {
local tmp="$(mktemp -t "yazi-cwd.XXXXX")"
yazi "$@" --cwd-file="$tmp"
printf "\033]0;$TERMINAL\007" # Reset terminal name
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
cd -- "$cwd"
fi