salman-abedin / devour

X11 window swallower
GNU General Public License v2.0
415 stars 30 forks source link

Devour doesn't open the terminal after closing the file viewer #14

Open winkelnp opened 4 years ago

winkelnp commented 4 years ago

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)

salman-abedin commented 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"
winkelnp commented 4 years ago

Do you mean putting that in devour.sh instead of what is currently in there?

winkelnp commented 4 years ago

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

salman-abedin commented 4 years ago

Give the new version a shot. Rewrote the whole thing in C.

winkelnp commented 4 years ago

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)

winkelnp commented 4 years ago

15965048346172692523923162869113

Heres an image

salman-abedin commented 4 years ago

Kindly leave a demonstration(GIF/Video) of your devour execution.
Edit: Try 11.0 for good measure.

winkelnp commented 4 years ago

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