yazi now aliased to y in shell

main
The_miro 2024-11-18 22:30:38 +01:00
parent 8630d34586
commit 04f3b5b393
3 changed files with 25 additions and 1 deletions

View File

@ -26,6 +26,15 @@ alias cls="clear"
alias t="wd" alias t="wd"
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
yazi "$@" --cwd-file="$tmp"
if cwd="$(command cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
builtin cd -- "$cwd"
fi
rm -f -- "$tmp"
}
eval "$(starship init bash)" eval "$(starship init bash)"
fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt

9
.zshrc
View File

@ -129,6 +129,15 @@ alias cls="clear"
alias t="wd" alias t="wd"
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
yazi "$@" --cwd-file="$tmp"
if cwd="$(command cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
builtin cd -- "$cwd"
fi
rm -f -- "$tmp"
}
eval "$(starship init zsh)" eval "$(starship init zsh)"
fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt

View File

@ -174,7 +174,7 @@ input {
kb_model = kb_model =
kb_options = kb_options =
kb_rules = kb_rules =
#left_handed = true left_handed = true
follow_mouse = 1 follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
@ -184,6 +184,12 @@ input {
} }
} }
input{
tablet {
active_area_size = 276.48 155.52
}
}
# https://wiki.hyprland.org/Configuring/Variables/#gestures # https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures { gestures {
workspace_swipe = true workspace_swipe = true