"Magics" support
l4l opened this issue · 0 comments
l4l commented
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 stringx
with arguments listed iny
;x ~ y
executes a program found by search stringx
with working directoryy
;x # y
executes a program found by search stringx
with env vars specified iny
(e.g.MYVAR=xyz MYVAR2= MYVAR3=abc
);@ x
executes a binaryx
as-is without any search;...anything else?(let it be discussed in another issues)