XEMBED(1)
π¦ XEMBED π
okay so bestie, let me put you onto xembed β the XEmbed foreground process. that's the whole name, that's the whole vibe. she's small, she's mighty, and she's about to make your terminal tabs behave. periodt. β¨
πΈ SYNOPSIS πΈ
xembed flag command [argument ...]
that's it. one little flag, one command, and whatever argument ...s you wanna drag along with you. π
π DESCRIPTION π
okay so here's the tea, and it's genuinely so clever. π«Ά
IF the environment variable XEMBED is set, AND xembed is chillin' in the foreground of its controlling tty β like, main character energy, front of the line, no cap β then it will execute this:
command flag $XEMBED [argument ...]
so yeah, it sneaks that flag in there and splices in whatever $XEMBED is holding. iconic behaviour. π
OTHERWISE β the env var isn't set, or she's just not in the foreground β it keeps it simple and executes:
command [argument ...]
no flag, no $XEMBED, no drama. just you and your command, living your life. π
ngl the whole thing hinges on that vibe check: env var plus foreground = the fancy version, anything else = the plain version. that's the entire bit. π―
β EXAMPLE β
picture this: you're in a terminal emulator, inside a tabbed session. you write yourself this shell alias:
$ alias surf='xembed -e surf'
now watch what happens, because this is the part that ate. π₯
- run
surfnormally (foreground)? boom,surfopens in a new tab. slay. π - run it in the background, like
surf &? nope, different story β instead it opens in a new window.
so the same command gives you two totally different results depending on whether you backgrounded it. lowkey genius, highkey obsessed. π§
π AUTHORS π
See the LICENSE file for the authors. (yes bestie, go read it, they deserve their flowers πΈ)
π LICENSE π
See the LICENSE file for the terms of redistribution. it's all in there, fr fr. π
π SEE ALSO π
tabbed(1)β her bestie, her ride or die, the whole reason this little tool exists. go say hi. π¦
π BUGS π
Please report them. that's it, that's the whole section β if something's broken, tell somebody, don't just suffer in silence. π
okay that's the whole page, you're officially educated. π this was xembed, straight out of the tabbed-0.7 era, and no date on the tin because the original didn't give us one β so we're keeping it mysterious. β¨ go forth and tab responsibly, bestie. π«Ά
π¦ where this page comes from
- fedora 43: tabbed 0.7-7.fc43 Β· MIT
- fedora 44: tabbed 0.7-8.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms