Skip to content

Apply bright colors to filter indicator if applied #3732

@mav3ri3k

Description

@mav3ri3k

yazi --debug output

Yazi
    Version: 26.1.22 (Homebrew 2026-01-22)
    Debug  : false
    Triple : aarch64-apple-darwin (macos-aarch64)
    Rustc  : 1.92.0 (ded5c06c 2025-12-08)

Ya
    Version: 26.1.22 (Homebrew 2026-01-22)

Config
    Init             : /Users/apurvamishra/.config/yazi/init.lua (No such file or directory (os error 2))
    Yazi             : /Users/apurvamishra/.config/yazi/yazi.toml (No such file or directory (os error 2))
    Keymap           : /Users/apurvamishra/.config/yazi/keymap.toml (No such file or directory (os error 2))
    Theme            : /Users/apurvamishra/.config/yazi/theme.toml (No such file or directory (os error 2))
    VFS              : /Users/apurvamishra/.config/yazi/vfs.toml (No such file or directory (os error 2))
    Package          : /Users/apurvamishra/.config/yazi/package.toml (No such file or directory (os error 2))
    Dark/light flavor: "" / ""

Emulator
    TERM                : Some("xterm-ghostty")
    TERM_PROGRAM        : Some("ghostty")
    TERM_PROGRAM_VERSION: Some("1.2.3")
    Brand.from_env      : Some(Ghostty)
    Emulator.detect     : Emulator { kind: Left(Ghostty), version: "ghostty 1.2.3", light: false, csi_16t: (16, 35), force_16t: false }

Adapter
    Adapter.matches    : Kgp
    Dimension.available: Dimension { rows: 47, columns: 188, width: 3016, height: 1670 }

Desktop
    XDG_SESSION_TYPE           : None
    WAYLAND_DISPLAY            : None
    DISPLAY                    : None
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

Variables
    SHELL              : Some("/bin/zsh")
    EDITOR             : Some("hx")
    VISUAL             : None
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None
    YAZI_ZOXIDE_OPTS   : None
    FZF_DEFAULT_OPTS   : None
    FZF_DEFAULT_COMMAND: None

Text Opener
    default     : Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true })
    block-create: Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true })
    block-rename: Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true })

Multiplexers
    TMUX               : false
    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.41
    ueberzugpp    : No such file or directory (os error 2)
    ffmpeg/ffprobe: 8.0.1 / 8.0.1
    pdftoppm      : 26.02.0
    magick        : No such file or directory (os error 2)
    fzf           : 0.68.0
    fd/fdfind     : 10.3.0 / No such file or directory (os error 2)
    rg            : 15.1.0
    chafa         : No such file or directory (os error 2)
    zoxide        : 0.9.9
    7zz/7z        : No such file or directory (os error 2) / No such file or directory (os error 2)
    resvg         : No such file or directory (os error 2)
    jq            : 1.7.1

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

Routine
    `file -bL --mime-type`: text/plain


See https://yazi-rs.github.io/docs/plugins/overview#debugging on how to enable logging or debug runtime errors.

Please describe the problem you're trying to solve

Some times I come back to a previously opened yazi tab with filter applied, confused where the files go. The current file path is very dull and long, so my brain has mostly learned to ignore it at most times. This means I also ignore the filter indicator there.

Would you be willing to contribute this feature?

  • Yes, I'll give it a shot

Describe the solution you'd like

A simple quality of life feature would be applying a bright color (red, yellow, etc) so that its more obvious. We can add this in config as an opt in option.

Additional context

No response

Checklist

  • I have searched the existing issues/discussions
  • The latest nightly build doesn't already have this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions