You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I set the custom icon (and color) for those files, if they are executable? If they are not executable, then they should have the icon specified in exts. I read the documentation: https://yazi-rs.github.io/docs/configuration/theme
I tried this, but this has the lowest priority, so exts section overrides it.
exts = [
{ name = "sh", text = " ", fg = "#ffb86c" },
]
conds = [
{ if = "exec", text = " ", fg = "#50fa7b" },
]
In the globs section, it does not accept either the is = "exec" or the if = "exec" option.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
foot version: 1.25.0 -pgo +ime -graphemes -assertions
yazi --debugoutputYazi Version: 26.1.22 (4e0acf8 2026-01-22) Debug : false Triple : x86_64-unknown-linux-gnu (linux-x86_64) Rustc : 1.93.0 (254b5960 2026-01-19) Ya Version: 26.1.22 (4e0acf8 2026-01-22) Config Init : /home/shyciii/.config/yazi/init.lua (4592 chars) Yazi : /home/shyciii/.config/yazi/yazi.toml (4372 chars) Keymap : /home/shyciii/.config/yazi/keymap.toml (10813 chars) Theme : /home/shyciii/.config/yazi/theme.toml (37424 chars) VFS : /home/shyciii/.config/yazi/vfs.toml (No such file or directory (os error 2)) Package : /home/shyciii/.config/yazi/package.toml (1071 chars) Dark/light flavor: "" / "" Emulator TERM : Some("foot") TERM_PROGRAM : None TERM_PROGRAM_VERSION: None Brand.from_env : Some(Foot) Emulator.detect : Emulator { kind: Left(Foot), version: "foot(1.25.0)", light: false, csi_16t: (9, 22), force_16t: false } Adapter Adapter.matches : Sixel Dimension.available: Dimension { rows: 52, columns: 105, width: 945, height: 1144 } Desktop XDG_SESSION_TYPE : Some("wayland") WAYLAND_DISPLAY : Some("wayland-1") DISPLAY : Some(":0") SWAYSOCK : None HYPRLAND_INSTANCE_SIGNATURE: None WAYFIRE_SOCKET : None SSH shared.in_ssh_connection: false WSL WSL: false Variables SHELL : Some("/bin/bash") EDITOR : Some("micro"){ name = "sh", text = " ", fg = "#ffb86c" }, VISUAL : Some("micro") YAZI_FILE_ONE : None YAZI_CONFIG_HOME : None YAZI_ZOXIDE_OPTS : None FZF_DEFAULT_OPTS : Some("--exact --color=fg:#f8f8f2,hl:#bd93f9 --color=fg+:#f8f8f2,bg+:#44475a,hl+:#bd93f9 --color=info:#ffb86c,prompt:#50fa7b,pointer:#ff79c6 --color=marker:#ff79c6,spinner:#ffb86c,header:#6272a4") FZF_DEFAULT_COMMAND: Some("find . -type f") Text Opener default : Some(OpenerRule { run: "$EDITOR \"$@\"", block: true, orphan: false, desc: "Text editor", for: None, spread: true }) block-create: Some(OpenerRule { run: "$EDITOR \"$@\"", block: true, orphan: false, desc: "Text editor", for: None, spread: true }) block-rename: Some(OpenerRule { run: "$EDITOR \"$@\"", block: true, orphan: false, desc: "Text editor", for: None, spread: true }) Multiplexers TMUX : false tmux version : 3.7 tmux build flags : enable-sixel=Unsupported 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: 7.1.3-0 / 7.1.3-0 pdftoppm : 25.03.0 magick : 7.1.1-43 fzf : 0.67.0 fd/fdfind : No such file or directory (os error 2) / 10.2.0 rg : 14.1.1 chafa : 1.18.0 zoxide : 0.9.7 7zz/7z : No such file or directory (os error 2) / 25.01 resvg : No such file or directory (os error 2) jq : 1.7 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) Routine `file -bL --mime-type`: text/plainDescribe the question
How can I set the custom icon (and color) for those files, if they are executable? If they are not executable, then they should have the icon specified in exts. I read the documentation: https://yazi-rs.github.io/docs/configuration/theme
I tried this, but this has the lowest priority, so exts section overrides it.
In the globs section, it does not accept either the is = "exec" or the if = "exec" option.
Anything else?
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions