chmln / handlr

A better xdg-utils
MIT License
609 stars 24 forks source link

Combine handlr with devour #13

Open Kabouik opened 4 years ago

Kabouik commented 4 years ago

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?