Whetstone.
Plugins and the status barBuilt-ins and the status bar
Module 8 · Lesson 110 min

Built-ins and the status bar

Here’s a thing that surprises people: Zellij builds its own UI out of plugins. The status bar, the tab bar, the session manager, the file picker, all plugins. They’re WebAssembly modules that render UI, react to state, and drive Zellij, and they’re first-class citizens sitting right alongside your terminal panes.

You’re already using several. The status-bar shows the mode and its keys. The tab-bar is the tab strip up top. compact-bar is the slim combined bar. strider is the file navigator (and filepicker is strider rooted at /). session-manager is the switcher from Module 6.

Built-in plugins you can open
CtrlthenoSession mode
wSession manager
pPlugin manager (load and monitor plugins)
cConfiguration

Plugins load from a layout with a plugin node. The location can be a built-in alias (zellij:status-bar), a file path, a URL, or a bare alias you’ve defined. This is exactly how the default layout puts the status bar at the bottom of your screen.

Loading a plugin in a layout
pane size=2 borderless=true {
    plugin location="zellij:status-bar"
}
Practice

Try it yourself

Do

Open the plugin manager

See the plugins Zellij is running.

  • Press Ctrl o then p
  • Read the list of loaded plugins; note the status-bar and tab-bar are among them
  • Press Esc to close it
Done whenThe plugin manager listed the running plugins, including the ones drawing your UI.
Quiz

What is the status bar

The status bar at the bottom of your screen is:

  1. AA plugin (zellij:status-bar) loaded by the default layout
  2. BA hardcoded part of Zellij's core
  3. CYour terminal emulator's own built-in status line
  4. DRendered by your shell prompt
Show answer

Correct answer: A — A plugin (zellij:status-bar) loaded by the default layout

The status bar is the zellij:status-bar plugin, loaded by the default layout. Zellij builds its UI from plugins.

Sign in to track your progress →