Open winkelnp opened 4 years ago
Give this old snippet a shot and kindly let me know how it went.
WID=$(xdo id)
xdo hide
"$@" > /dev/null 2>&1
xdo show "$WID"
Do you mean putting that in devour.sh instead of what is currently in there?
I've done that (I. E. I've written a separate bash script with that as it's contents)
I called it and I have the same issue as before: the terminal doesn't reopen after closing the file viewer/editor
Give the new version a shot. Rewrote the whole thing in C.
Sorry to be even more of a pain, but now it doesnt seem to be hiding the terminal in the first place, it just opens the file in another window.
It also seems to run my .bashrc file again, and the shows "devour" as the emulator in the neofetch (I run that on startup of bash)
Heres an image
Kindly leave a demonstration(GIF/Video) of your devour execution.
Edit: Try 11.0 for good measure.
Here is a video. As you can see in the video, I reinstalled devour fresh just before so it should have been the newest version.
Edit: file too big/mp4 not supported here's a google drive link (sorry) https://drive.google.com/folderview?id=1AWGO2FoBCYFwyHdaA67ypzHB4juorvIM
I have installed devour on my Rpi1 (don't think that the hardware makes a difference) and everytime that I have tried to open something using devour, it hides the terminal, opens the viewer, but when I close the viewer, the terminal doesn't come back. This has happened with everything that I have, so I don't think that it's an issue with the respective viewer/editor. (I'm running lxterm on awesomewm if that matters)