Skip to content

Running shell script in statusformatl #1860

@0neGal

Description

@0neGal

Description of the problem or steps to reproduce

I was attempting to try and add file type icons, and at first I thought the statusformatl took shell scripting in the sense that $(echo "test") would yield test... etc etc... But from what I later discovered it seems it's using Lua code? I've hardly played with Lua so I don't know that much, but would there be any way to make it use stdin from a shell script to put into the status?

That way I can easily add my own file type icons...

Specifications

Commit hash: 5044ccf
OS: Linux (Arch)
Terminal: GNOME Terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions