Skip to content

config.node_types.file.style.fg foreground color isn't applied to files #651

@Locorock

Description

@Locorock

The same can be said for all node_types style properties except directory.
This only applies for files that have no permission for execution.
My LS_COLORS is empty, i'm using fish and wezterm but the results are identical with kitty and sh. I'm using xplr version 0.21.2 from pacman.

this is an example of what seems to be happening:
2023-07-16-233559_944x511_scrot

These are my relevant configurations, i've deleted the rest of the config (except for version) to make sure nothing else could be interfering:

xplr.config.node_types.directory.meta.icon = ""
xplr.config.node_types.directory.style.fg = "Green"
xplr.config.node_types.file.meta.icon = ""
xplr.config.node_types.file.style.fg = "Blue"
xplr.config.node_types.symlink.meta.icon = "§"
-- xplr.config.node_types.mime_essence = {}
xplr.config.node_types.extension.md = { meta = { icon = "" }, style = { fg = "Blue" } }
xplr.config.node_types.extension.rs = { meta = { icon = "" }, style = { fg = "Green"} }
xplr.config.node_types.extension.rasi = { meta = { icon = "" }, style = { fg = "Yellow"} }
-- xplr.config.node_types.special = {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions