Skip to content

"Magics" support  #8

@l4l

Description

@l4l

Currently, apps are launched by their Exec=... entries in desktop files. Sometime it's useful to pass program arguments to the command. Thus "magics" are considered, which is an extension to the search field (e.g. somewhat inspired by dgg's bangs). Here's the sample list:

  • x !! y executes a program found by search string x with arguments listed in y;
  • x ~ y executes a program found by search string x with working directory y;
  • x # y executes a program found by search string x with env vars specified in y (e.g. MYVAR=xyz MYVAR2= MYVAR3=abc);
  • @ x executes a binary x as-is without any search;
  • ...anything else? (let it be discussed in another issues)

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