Skip to content
masegrayePublic

About

An opinionated Rex client for Omarchy.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

241 Commits

Folders and files

Repository files navigation

Tono's icon: a prompt on a dark tile

Tono

An opinionated Rex client for Omarchy.

Tono: every machine's sessions and tabs in one sidebar, with Neovim open in a tab

Rex keeps your terminals running on a server, so you can leave them and come back from anywhere. Tono is a client for it, made for the Omarchy desktop. It puts the sessions and tabs of every machine you have in one sidebar and uses your desktop's colors and font. It is built to be used from the keyboard.

Rex is Latin for king. Tono (殿) is Japanese for lord.

Who it's for

Tono is for people who use Rex and work on Omarchy. It helps most if your sessions are spread over several machines and you want them in one place, or if you run agents in terminals and want to know which one is waiting for you. It also suits you if you want your terminal to match your desktop without setting anything up.

What it does

A terminal showing a git log and an image A tab marked as working in the sidebar
Ghostty's terminal core draws the terminals, so Neovim, btop, the mouse and images all work. A tab shows whether its program is working, waiting for you, or done. When a program in a tab you aren't watching needs you, Tono plays a sound. The agent in this screenshot is a stand-in script.
The command palette, searching for split One tab split into three panes
The command palette finds any command, session, tab or machine as you type. You can split a tab into panes, to the right or downward, then move between them and zoom one.
One window in three Omarchy themes, a third of each Tono in a browser
When you change Omarchy's theme, Tono changes with it, terminals included. The same app runs as a web page, for your other devices. It is served over your tailnet, and only to you.

When Tono starts, it connects to all your Rex servers and puts you back where you were on each. It also offers to add the Rex servers it finds on your tailnet. A machine that goes to sleep turns red in the sidebar, and Tono reconnects to it when it wakes.

What makes it opinionated

A few things Tono does its own way:

  • Tabs live in the sidebar, in one list covering every session on every machine. Ctrl plus a number jumps straight to a tab, wherever it is.
  • Colors and the font come from your Omarchy theme, and follow it as it changes. You can pick one of Tono's own themes or another terminal font instead, and where there is no Omarchy it uses those.
  • Commands and shortcuts are the same as in Rex's Mac app, with Ctrl where the Mac uses Cmd. If you've bound keys in Rex's init.lua, they work here too.
  • Tabs are named after what's running in them and where, like nvim ~/dev/rex. You can rename a tab, and that name shows up on every client.
  • The sidebar keeps machine names small and tabs bright, since tabs are what you're looking for. Sounds only play for tabs you aren't looking at.

Try it

You need a running Rex server and mise. Tono is built for Omarchy and hasn't been tried on any other desktop.

git clone https://github.com/masegraye/tono && cd tono
mise trust && mise install   # Task, Java and Zig, for this directory only
task install                 # builds it and installs the `tono` command
tono

The first build downloads and builds Ghostty's terminal core, which takes about two minutes. After that Tono is in your app launcher and no longer needs the checkout. Installing has the details.

Where it stands

Tono is early and unofficial. The two gaps you are most likely to notice first are that you can't select text with the mouse, and that it doesn't connect to SSH hosts. The browser version has been tried in Chromium and a little in Firefox, but not in Safari, and its phone layout has only been tried in a desktop browser's phone mode. Planned work is in the backlog.

Read more

  • What's new lists the changes since the repository was published.
  • Installing covers what you need, and how to update or remove it.
  • Using Tono explains machines, the sidebar, tabs and shortcuts.
  • Tono in a browser covers serving it, who can reach it, the keyboard and phones.
  • How it works describes the protocol, the terminal, images and the clipboard.
  • Working on Tono lists the modules, the tasks and the tests.
  • Omarchy theming describes the theme libraries, which other apps can use.

Credits

Tono is an independent, unofficial client, and it depends on other people's work.

  • Rex, by Superlogical, is the terminal multiplexer Tono is a client for. Tono takes its behaviour, command names and shortcuts from Rex's Mac app.
  • Rex Rune, by shuv, is another unofficial Linux client for Rex, written in Rust. It was Tono's reference implementation: where Rex's documentation didn't say how a client should behave, Tono follows what Rex Rune's source and notes say. The two share no code.
  • Ghostty's terminal core, libghostty-vt, does the terminal emulation.
  • Omarchy is the desktop Tono is made for, and its colors and font come from there.

License

MIT.

About

An opinionated Rex client for Omarchy.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages