Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder Selection #2163

Open
2 of 3 tasks
magdesign opened this issue Jan 5, 2025 · 0 comments
Open
2 of 3 tasks

Folder Selection #2163

magdesign opened this issue Jan 5, 2025 · 0 comments
Labels
feature New feature request

Comments

@magdesign
Copy link

magdesign commented Jan 5, 2025

yazi --debug output

yazi --debug

Yazi
    Version: 0.4.2 (VERGEN_IDEMPOTENT_OUTPUT 2024-12-20)
    Debug  : false
    Triple : aarch64-alpine-linux-musl (linux-aarch64)
    Rustc  : 1.83.0 (90b35a62 2024-11-26)

Ya
    Version: No such file or directory (os error 2)

Emulator
    Brand.from_env      : Some(Foot)
    Emulator.detect     : Emulator { kind: Left(Foot), light: false, cell_size: Some((26, 59)) }
    Emulator.detect_full: Ok(Emulator { kind: Left(Foot), light: false, cell_size: Some((26, 59)) })

Adapter
    Adapter.matches: Sixel

Desktop
    XDG_SESSION_TYPE           : Some("wayland")
    WAYLAND_DISPLAY            : Some("wayland-1")
    DISPLAY                    : Some(":0")
    SWAYSOCK                   : Some("/dev/shm/user/10000/sway-ipc.10000.3229.sock")
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

NVIM
    NVIM          : false
    Neovim version: No such file or directory (os error 2)

Variables
    SHELL           : Some("/bin/ash")
    EDITOR          : Some("micro")
    VISUAL          : None
    YAZI_FILE_ONE   : None
    YAZI_CONFIG_HOME: None
    YAZI_ZOXIDE_OPTS: None
    FZF_DEFAULT_OPTS: None

Text Opener
    default     : Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block-create: Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block-rename: Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })

Multiplexers
    TMUX               : 0
    tmux version       : No such file or directory (os error 2)
    tmux build flags   : enable-sixel=Unknown
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file          : 5.46
    ueberzugpp    : No such file or directory (os error 2)
    ffmpeg/ffprobe: 6.1.2 / 6.1.2
    pdftoppm      : No such file or directory (os error 2)
    magick        : 7.1.1-43
    fzf           : No such file or directory (os error 2)
    fd/fdfind     : 10.2.0 / No such file or directory (os error 2)
    rg            : No such file or directory (os error 2)
    chafa         : No such file or directory (os error 2)
    zoxide        : No such file or directory (os error 2)
    7z/7zz        : No such file or directory (os error 2) / No such file or directory (os error 2)
    jq            : 1.7.1

Clipboard
    wl-copy/paste: 2.2.1 / 2.2.1
    xclip        : No such file or directory (os error 2)
    xsel         : No such file or directory (os error 2)

Please describe the problem you're trying to solve

Using yazi as my default filepicker/filechooser which works well 🤓.

However, when an application like amberol asks to select a folder, i am not able to do this with yazi as filechooser. I can only select files and they are not even sent back to the application.

Would you be willing to contribute this feature?

  • Yes, I'll give it a shot

Describe the solution you'd like

If yazy gets opened as a filepicker via xdg-desktop-portal-termfilechooser to select a folder, hitting enter on any selected folder should accept this as an input, send it back to the application which requested it and close yazi.

Additional context

No response

Checklist

  • I have searched the existing issues/discussions
  • The latest nightly build doesn't already have this feature
@magdesign magdesign added the feature New feature request label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant