PROPHET/OS
NAME
tiles: a tiling window manager in the terminal, like i3 and tmux
SYNOPSIS
tiles [-c '<line>']... [new -s <name> | attach -t <name> | kill -t <name> | ls]
DESCRIPTION
A tiling window manager in the terminal, like i3 and tmux.
Alt+h / Alt+v split Alt+arrow move focus Alt+Shift+arrow move the tile Alt+Ctrl+arrow move the border, 5 % per key Alt+f zoom Alt+q close Alt+1 to Alt+9, Alt+0 workspace 1 to 10 Alt+d detach: the shells keep running Alt+e quit
The prefix key of tmux works beside them: Ctrl+b, then % (side by side), " (one above the other), an arrow, z (zoom), x (close), a digit, or d (detach); Ctrl+b twice sends Ctrl+b to the shell. prefix in tiles.conf sets another key or off; bind <key> <command> and unbind <key> set the keys after it, with the commands of tmux (split-window -h, split-window -v, select-pane -U/-D/-L/-R, resize-pane -Z, kill-pane, detach-client, select-window -t <0-9>).
The settings are read from /system/config/tiles.conf, then from the user's own <home>/.tiles.conf; a later line wins. A workspace can be laid there, built the first time it is entered:
workspace 2 h60(top, v50(debug --tui stress all, memory --tui --map)) workspace.start 2
A layout is a command, h<percent>(a, b) side by side or v<percent>(a, b) one above the other; the percent (10 to 90, default 50) is the share of a. h40c(a, b) gives a exactly 40 columns, v10c(a, b) exactly 10 rows. A command is typed into the tile's shell, so its end leaves the shell; an empty command is a plain shell. Workspaces are named as on the bar, 1 to 9 and 0 (or 10). workspace.start is the one shown first. A layout that does not parse leaves one shell and says so. -c '<line>' gives a line of tiles.conf on the command line, read after both files, up to eight times:
tiles -c 'workspace 1 h30c(top, v50(memory --tui, ))' -c 'workspace.start 1'
A tile raises an alert with alert activity|warning|critical, or with a bell (\a, activity). The number of its workspace on the bar takes the colour of the highest level until the workspace is shown:
alert.activity green blink alert.warning yellow blink alert.critical red blink
Each line takes a colour (green, yellow, red, blue, cyan, magenta, white, grey), blink or steady, or off for no mark at all.
tiles is a client: the first one starts tiles server, which holds the workspaces and their shells, and hands it its console. Alt+d gives the console back and the shells keep running; the next tiles, on this console or another, takes them up again. Every session is a server of its own: a plain tiles attaches to the session main and starts it if needed, tiles new -s <name> starts another, tiles attach -t <name> takes one up, tiles kill -t <name> ends one with its shells, and tiles ls lists them. A name has 1 to 11 letters, digits, - or _. Only clients of the same user attach (R13-TILES-01). tiles selbsttest and tiles anhangprobe are the probes of the area tiles.
tiles draws at most 256 columns by 72 rows, and a screen outside that is refused with the bound named instead of drawn. Until 2026-10-14 only the columns were held against their bound; a taller screen fell through the cell count of a tile and the tile stayed empty without a word (R12-TILES-01). tiles selbsttest drives both bounds and both ends.
Workspaces start empty (the user, 2026-11-26): only the start workspace, and one whose layout tiles.conf names, has a shell; Alt+Enter opens one in an empty workspace, or beside the focused tile. Closing a workspace's last tile leaves it empty. When the last shell anywhere ends, by exit or by Alt+q, tiles ends.
EXAMPLE
