xdg-termfilechooser-bridge

Crates.ioxdg-termfilechooser-bridge
lib.rsxdg-termfilechooser-bridge
version
sourcesrc
created_at2025-05-03 16:09:52.773685+00
updated_at2025-05-11 10:07:31.195959+00
descriptionThe bridge between xdg-desktop-portal-termfilechooser and your favorite terminal based filepicker
homepage
repository
max_upload_size
id1658941
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Christopher Kaster (atomicptr)

documentation

README

xdg-termfilechooser-bridge

The bridge between xdg-desktop-portal-termfilechooser and your favorite terminal based filepicker

Installation

Install the application

via cargo

$ cargo install xdg-termfilechooser-bridge

Setup xdg-desktop-portal-termfilechooser

Edit $XDG_CONFIG_HOME/xdg-desktop-portal-termfilechooser/config

[filechooser]
cmd = /path/to/xdg-termfilechooser-bridge

Configuration

By default the tool will try to determine your terminal and filepicker automatically by checking if you have one of the supported ones installed, if you want to use a specific one please edit $XDG_CONFIG_HOME/xdg-termfilechooser-bridge/config.toml

terminal = "ghostty"
filepicker = "yazi"
start_at_last_selected_dir = true

Supported file pickers

If your favorite terminal filepicker isn't available feel free to add it yourself or open an issue with the required invoke parameters.

Supported terminals

If your favorite terminal isn't available feel free to add it yourself or open an issue with the required invoke parameters.

Motivation

The default script of xdg-desktop-portal-termfilechooser has had several issues in the past and beyond these I wanted to customize the behaviour of it further so I wrote a tool to do so.

License

GPLv3

Commit count: 0

cargo fmt