chmln/handlr

Combine handlr with devour

Kabouik opened this issue · 0 comments

I have a custom xdg-open in /home/user/local/bin/ that runs handlr open "$@" and it takes precedence over the vanilla /usr/bin/xdg-open in my $PATH. I would like to combine it with devour, a WM-agnostic swallowing feature for terminal, but I am not sure how to integrate it.

devour handlr open "$@" seems to initiate the swallowing feature, but somehow fails and the terminal is still shown. Or actually it swallows the terminal for a fraction of a second when launching handlr, but then handlr succeeds when lauching the default application, and therefore the terminal is shown again.

Is there any way, or is editing the .desktop files of the applications the only solution?