minus-squareRemus86@lemmy.ziptoLinux@lemmy.world•mini95. A minimal, "almost" dependency-free dmenu clone. With a Windows 95 theme.linkfedilinkEnglisharrow-up2·edit-219 days agoIn X11 you can just use ‘exec app-name’ and it will replace the terminal window with the app. In Wayland, I got it to work with this: setsid app-name & disown sleep 1 exit Without the ‘sleep 1’, it exits the terminal too quickly for the app to launch, at least when I tried it. *Edit: In order for it to work as a script, you still need to type exec first. Or, in my case, I aliased “open-app” to “exec open-app”. linkfedilink
In X11 you can just use ‘exec app-name’ and it will replace the terminal window with the app. In Wayland, I got it to work with this:
setsid app-name & disown sleep 1 exitWithout the ‘sleep 1’, it exits the terminal too quickly for the app to launch, at least when I tried it.
*Edit: In order for it to work as a script, you still need to type exec first. Or, in my case, I aliased “open-app” to “exec open-app”.