diff --git a/.bashrc b/.bashrc index fbf4b30..1b88a07 100644 --- a/.bashrc +++ b/.bashrc @@ -26,6 +26,15 @@ alias cls="clear" 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)" fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt diff --git a/.zshrc b/.zshrc index ff20995..2ae3491 100644 --- a/.zshrc +++ b/.zshrc @@ -129,6 +129,15 @@ alias cls="clear" 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)" fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt diff --git a/desktopenvs/hyprland/hypr/hyprland.conf b/desktopenvs/hyprland/hypr/hyprland.conf index 11fa7a1..a91a63d 100644 --- a/desktopenvs/hyprland/hypr/hyprland.conf +++ b/desktopenvs/hyprland/hypr/hyprland.conf @@ -174,7 +174,7 @@ input { kb_model = kb_options = kb_rules = - #left_handed = true + left_handed = true follow_mouse = 1 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 gestures { workspace_swipe = true