-
Notifications
You must be signed in to change notification settings - Fork 636
Description
yazi --debug output
N/APlease describe the problem you're trying to solve
Currently, title_format can only be set at yazi.toml, but it seems to make more sense to expose this as a CLI option available in most applications that let you set this.
Use case: looking to use Yazi as an XDG file picker for applications. When used as a file picker, I want to define a window rule for my tiling window manager that opens Yazi in a floating window instead of as a default tiling window. The way to achieve this is to set a window name that can be captured by the window manager to apply the rule, such as giving the window of an application a prefix to match for, e.g. "File picker: {cwd}". With a yazi --title-format "File picker: {cwd}" this is trivial; currently, it looks like one needs to maintain two yazi.toml config files--one for typical Yazi usage and the other YAZI_CONFIG_HOME for Yazi as a file picker.
Would you be willing to contribute this feature?
- Yes, I'll give it a shot
Describe the solution you'd like
Expose --title-format CLI option.
Additional context
No response
Checklist
- I have searched the existing issues/discussions
- The latest nightly build doesn't already have this feature