Skip to content

No Scripting Support #3

Description

@TheSiberianHusky

It isn't possible to run tmenu for any purpose except launching applications. Many people use dmenu in scripts like:

echo "apple\norange\nbanana\n" | tmenu >> grocerylist.txt

The solution is to add | sh to the last line of tmenu_run and remove lines 134-142 from tmenu.c. I know I'll need to see how to preserve some of the lines. Then, running tmenu returns the selection to STDOUT while using tmenu_run runs the selection too (like dmenu).

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