Comments (6)
Correction, it works on most programs, but it doesn't work on firefox. When I run it with swallow firefox
it gives me i3-swallow: no process attached
from i3-swallow.
@GrbavaCigla Hello there. Can I know which applications are you trying to swallow which are not working? Also can you run the program successfully without any issues excluding the not swallowing problem?
from i3-swallow.
Not working with google-chrome-stable in i3-gaps too, same error i3-swallow: no process attached
from i3-swallow.
If I got this right it only swallows the terminal if you launch a locking process ( Vlc or Thunar) but both browsers fork away from the terminal al soon as they launch without blocking it and letting you keep using that. I think this was the intended result and makes sense for me, I just want to get the useless terminal out of the way, not a good one.
If you want to have this behaviour with firefox you can do this:
As the default installation for FF sets in your path this launcher script below you only have to modify how you launch that slightly:
❯ cat /usr/bin/firefox
#!/bin/sh
exec /usr/lib/firefox/firefox "$@"
Try this on your terminal :
i3-swallow exec -l /usr/lib/firefox/firefox www.archlinux.org
or just i3-swallow exec chromium
It will open a FF window and swallow the terminal as you want. It works well for me :) Nvm,after several attempts looks like it's not exactly that yet, it does work for me the first time I, but if I try several times in a row the behavior appears kinda random
from i3-swallow.
Adding another program that can't be swallowed: visual studio code.
Specifically that one.
Maybe it has something to do with it opening in background.
from i3-swallow.
Well, if you look what code
command does:
ELECTRON_RUN_AS_NODE=1 exec electron /usr/lib/code/out/cli.js /usr/lib/code/code.js "$@"
It is spawning in another process, so you would have to run it directly to swallow. Also since it is starting in another process and it doesn't block terminal, swallowing is kinda useless...
Edit: same reason it didn't work for firefox
from i3-swallow.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3-swallow.