Barbarian is a panel for the Omarchy Quickshell bar: open it
with a keybind and reorder, re-lane or hide every widget on the bar's right side by
dragging (or with j/k + J/K), add, reorder and delete workspaces (desks), and give
each desk its own wallpaper. Ctrl+Z undoes any change made while the panel is open,
and Ctrl+Shift+Z (or Ctrl+Y) redoes it.
Since 2026-10-07 it is also the home of Reptile, its former sibling plugin: the
desk-layouts panel opened with HYPER+L, where every desk's recording is drawn as
blocks — drag to swap, drag the line to resize, × removes, + adds, saved as you
go — plus the quick-apps tab that gives an app a key of its own. One plugin, one
installer, one id: the keybind is now
omarchy-shell atlas.arrange layouts (the old tinkerbell.reptile target is
migrated away by install.sh, which also prints the keybind reminder while
~/.config/hypr/bindings.lua still names the old id). Reptile's commit history was
grafted in — git log --follow plugin/Reptile.qml.
The grid button beside the tick and cross switches to icon-only mode: three rows
in the bar's own order, each placed as it sits on the bar — the left lane's glyphs at
the left edge, the workspaces as chips in the middle, the right lane's glyphs at the
right edge — and no names. Drag a tile along its row to reorder, onto another row to
change lanes. The tile follows the grab point while its neighbors make room; a short line
marks a new landing position. Releasing commits the move. Escape during a drag, losing
the pointer grab, or dropping outside the icon rows cancels just that move, preserving
earlier staged changes. Hover for the name; right-click or press F10 for the menu that
moves, hides or shows it
(and deletes a spacer). A widget that is an installed plugin — a folder with a manifest under
~/.config/omarchy/plugins — also offers Uninstall: it asks first, stages the tile's
departure like every other change (Ctrl+Z undoes it, Escape forgets it), and on apply the
entry leaves shell.json while plugin/bin/plugin-uninstall puts the plugin's folder in the
trash — one folder at a time, with the shell's restart riding along on the installer's next
run. A widget parked off the bar wears the theme's urgent colour,
and hiding one sends it to its lane's far end so the hidden ones sit together. Click a desk chip to go there; right-click it for background,
rename, save, restore, move and delete; drag it along its row to reorder the desks. The keys
follow the layout — h/l walk a row, j/k hop rows (the desks' row included), H/L
carry, J/K throw, x hides a widget or deletes a desk. The choice is remembered in
~/.local/state/omarchy/barbarian.json.
+ Add workspace sits at the far end of the desks' row in icon view (the right end, or the left when the workspaces sit on the right of the bar) and at the foot of the desks column in the list. It puts a new desk at the end and opens its name for typing; Enter takes the name and, as with any rename, applies the panel's changes and closes it, while Escape leaves it called "New workspace" (made with no name, it shows its bare number). Until then the new desk can be renamed, moved and removed (without the "are you sure", since nothing is on it), but has no background, recording or desk to go to. New desks take numbers no other workspace has, up to 10, and the button dims when there is none left.
Drag a desk (either view), carry it with the keys, or use its menu; delete one from its menu (icon view) or its bin button (list view). Deleting asks first, and says where the desk's windows go: the desk before it, or the one after it when it is the first (never a new desk). All three are staged with the rest of the panel's changes, so Escape still throws them away.
Applying renumbers the desks so the Nth desk on the bar is desk N again, and SUPER+N still
reaches it. plugin/bin/ws-renumber does it in one pass after the panel closes:
- each desk is given its new number in place (Hyprland's
workspace.change_id), so its windows and their tiling stay exactly as they were; - wallpaper pins move with their desk in every theme, an Auto desk keeps its picture, and stock
Omarchy's per-desk tiling layout (
SUPER+L) moves with it too; - every executable in
~/.config/omarchy/hooks/workspaces-renumbered.d/runs first, with onemove:OLD:NEWordelete:OLD:NEWargument per changed desk (for a deleted desk,NEWis the desk its windows went to) and oneadd:NEW:NAMEper new desk (add:NEWwhen it has no name). That is where a machine's own config — the desk table, window rules that name a desk by number, scripts that open things on a desk — follows along. A hook that exits non-zero stops the whole pass with nothing changed; - a new desk is made last, once the others have their numbers: by the config reload, where a hook wrote it into the config, or otherwise as a persistent workspace that lasts until Hyprland next reloads its config (with nowhere to write it down, an empty desk cannot outlive that).
Which workspaces are desks: the persistent ones when the Hyprland config declares any, otherwise
every workspace from 1 to 10 that exists. A config that declares persistent desks would put them
back at the next login, so on such a machine Barbarian offers adding, reordering and deleting only
once a workspaces-renumbered hook is installed. A failure is reported as a notification, and the last
passes are logged in ~/.local/state/omarchy/barbarian-renumber.log.
The drag preview is independent of the lane layout: pointer movement never reorders the
model. Neighbors and the landing animate over 160 ms; the held tile has no easing or
lag. Set "reduce-motion": true on the atlas.arrange entry in shell.json to
disable these animations. Qt does not currently expose an OS reduced-motion preference.
It was built by a Claude Code agent on the author's machine, extracted from the machine-configuration repo it grew up in (51 commits of history carried over).
The palette button beside the view toggle, or t, closes the panel and opens a full-screen grid
of every theme Omarchy can see, in the look of
omarchy-theme-manager's grid: Installed,
Omarchy defaults, Hidden and Broken links, each a row of previews. It is also reachable without
the panel: omarchy-shell shell toggle atlas.arrange '{}' (bind it to a key). The button is
dimmed while the panel has changes waiting; apply or cancel them first, because applying rewrites
shell.json and the shell rebuilds its overlays when that file changes.
Arrow keys move, typing filters, and Delete acts on the selected theme; so does the × that hovering a theme shows in its top-right corner. A remove or a hide always asks first, and Cancel is the default for a remove. Every change is made on the spot, so Enter, which applies and closes the panel, closes the grid, and so does Esc.
- Your own themes (folders in
~/.config/omarchy/themes) go to the trash, so they can come back. A link is unlinked and whatever it points to is left alone. Your copy of one of Omarchy's themes can be removed too; Omarchy's original stays. - Omarchy's own themes can only be hidden. The
omarchypackage owns them, so deleting one needs root and the next update would put it back. Hiding takes the theme out of Omarchy's own theme picker as well as this grid; Restore puts it back. The list lives in~/.local/state/omarchy/barbarian-hidden-themes. - Broken links — links whose target is gone — can be removed one at a time, or all at once with Shift+Delete.
- The theme in use cannot be removed or hidden.
Omarchy rebuilds its picker's cache whenever a theme folder changes, which brings hidden themes
back; the grid puts them away again within about 15 seconds. The first picker open after installing
a theme some other way, or after an Omarchy update, can still show a hidden theme once.
plugin/bin/theme-remover does every change on disk, and its header explains the two caches it
keeps in line.
Saved layouts reopen Magpie Calendar and Magpie Mail — through the apps' own way first (the
calendar's opener script, the mail's magpie-mail launcher) and, while a machine still has the
shell plugin, by summoning it. Magpie Calendar was
called Skylark until 3 November 2026, and Magpie Mail was called Magpie until 8 November 2026;
recordings that saved either under its old name reopen it without being saved again, including
recordings made before reopening was supported, and recordings from the plugin era still match
the standalone windows. While a machine
still has a plugin under its old id, Barbarian falls back to the old id when the shell does not know
the new one (skylark for magpie-calendar, magpie for magpie-mail). If Magpie Calendar is already open on another workspace, restore brings that
window back.
Links that Magpie Mail opens in their own window are left alone. Recording a desk skips them,
closing extra windows never closes them, and a restore never takes one for a window it is
reopening. Magpie Mail opens every link through its own link-window.html page, so each link
window's class contains _link-window.html-, and that is how Barbarian knows one.
Chrome's Mail and Calendar launchers read the account for each Chrome profile from the
machine-local ~/.config/omarchy/workspace-layout/google-accounts.json. The JSON maps profile
names (Default, Profile 1) to their Google account addresses. A missing file or profile entry
leaves that window without a launcher rather than opening the wrong account.
Other private web apps can be described in local-launchers.json beside it: each entry maps a
window class to its launch command and panel label. Those machine-local entries join the add
picker without putting private addresses in git.
Open HYPER+L → Features to turn behaviors on and off independently. Changes are saved immediately; no shell restart is needed. Saved recordings and quick-app choices are retained.
The switches cover layout restoration, restoration at login and during automatic recovery, applying new edits when visiting a desk, reopening missing apps, closing extra windows, floating-window restoration, missing-window placeholders, layout messages, equal columns, and quick apps. Disabling layout restoration also pauses its dependent features. Their individual choices are retained. Disabling quick apps brings hidden quick-app windows to the current desk before removing their shortcut overrides.
Ctrl+Tab and Ctrl+Shift+Tab change tabs. In Features, Tab moves between switches, Space changes the focused switch, and Escape closes the panel. Disabling apply-on-visit clears pending automatic applications; re-enabling it applies only edits made afterwards.
Each app in Quick apps has its own Hide with SUPER+W switch. On hides that app and keeps
it running; off closes it normally. The app's own shortcut still summons or hides it. Existing
apps inherit their previous global choice; new apps start with hiding on. Choices are saved with
the app in quick-apps.json and remain editable while Quick apps is paused in Features.
Feature settings live in ~/.config/omarchy/workspace-layout/features.json. A missing file preserves
the existing behavior. Automatic
callers use ws-layout restore --automatic --quiet <desk>; the panel uses --on-visit for new
edits. ws-layout features reads the values, and ws-layout features <name> true|false changes
one. These settings are not offered as Caboodle switches: they matter only at the desk, where the
panel already has them, and the installer removes the switches it used to install.
plugin/— the Quickshell bar widget (atlas.arrange) and, as the same plugin's overlay entry point, the theme grid (ThemeRemover.qmland theTheme*.qmlbeside it). It draws nothing on the bar (zero width); it exists to host the panel and its IPC target, toggled withqs -p /usr/share/omarchy/shell ipc call atlas.arrange toggle.Reptile.qml, instantiated byPanel.qml, is the merged-in layouts panel (HYPER+L, viaipc call atlas.arrange layouts): its own window, header and keyboard model, riding the same IPC target. On close it writes the new order straight into Omarchy'sshell.json(whole entries move, so each widget's per-widget settings travel with it) and parks hidden widget ids in~/.config/omarchy/bar-hidden.json. Hiding a plugin whose manifest also declares a service, panel or overlay keeps its id inshell.json's top-levelplugins[], so the app stays enabled without a second copy of its settings; an existing entry is preserved without a duplicate, and uninstalling removes the id again. The installer also repairs already-hidden entries when the screen and panel are free, so an update restores apps that were switched off before this fix. The installer keeps a short list of plugins that changed their id (Skylark, nowmagpie-calendar; Magpie, nowmagpie-mail) and renames their hidden entries to match, so showing one again brings back the renamed plugin. If the write is refused, because the files no longer hold an entry the panel lists, nothing changes and a notification says so. Another plugin's uninstaller takes its own entry out of the bar and the hidden list with~/.config/omarchy/plugins/atlas.arrange/bin/bar-arrange-apply DEL:<its id>. It removes every entry with that id and writes both files back. It exits 1 and changes nothing when there is no such entry. Runs take turns through a lock, so two callers never undo each other. Itsbin/scripts drive the per-desk wallpaper picker: pin any image (or a solid colour) to a desk, add images from Pictures/Downloads, remove ones you added, and hide the theme's own (listed per theme inworkspace-backgrounds/<theme>/hidden-images).bin/plugin-uninstallis the folder half of an uninstall: once the entries have leftshell.json, it trashes the plugins one at a time, each settle apart, and never restarts the shell itself — a restart racing the reload crashed the shell once, four racing left four bars, so the restart rides with the installer's next run instead. It waits out any desk renumber and refuses while the screen is locked (a write underplugins/reloads the whole shell — seeinstall.sh).engine/—per-workspace-wallpaper.shis the wallpaper watcher that applies those pins on every workspace switch and theme change.ws-layoutandquick-appcame with Reptile: recordings and restores for desk layouts, and the quick-apps engine. They install to~/.config/omarchy/workspace-layout/, where they have always lived, and the installer compiles them before writing (a broken engine never installs).
- Omarchy (built against its Quattro-era shell: the QML imports
qs.Commonsandqs.Ui, which only exist inside the Omarchy shell) - ImageMagick (
magick) for solid-colour wallpapers jqandgio(both in a standard Omarchy install) for the theme grid —gio trashis what makes a removed theme recoverable- The plugin must be listed in
shell.json's right section to load at all — Omarchy keeps that file machine-local, so add the id by hand after installing.
git clone https://github.com/WebscapeOrg/barbarian
cd barbarian && ./install.shInstalls user-space only: the plugin to
~/.config/omarchy/plugins/atlas.arrange/, the engine to
~/.config/omarchy/workspace-backgrounds/. Idempotent — re-running is the repair.
The plugin id is atlas.arrange since the machine renamed (Q-104, 2026-10-24); it is
load-bearing in shell.json, keybinds and the engine. Before the rename it was
tinkerbell.arrange, and the installer migrates machines off the old id — the bar
entry renames in place, the old folder trashes, and the keybind reminder prints.
After installing changed plugin code, run omarchy restart shell while the session is
unlocked. The shell's widget reload can reuse the QML engine's cached code; a full shell
restart is required to load edits reliably. While the screen is locked or the panel is
open, the installer holds back the plugin and the wallpaper watcher and puts them in when
it clears. The layout engines go in straight away, because nothing reloads them, unless a
panel change is held back in the same run. Each file is written beside the old one and
renamed into place, so a file it cannot write keeps its old copy; it is listed at the end
and the run exits 1.
What is held back waits in a barbarian-install-pending user unit for up to a week, so an
evening commit goes in at the morning unlock: it checks every ten seconds for the first hour,
then every thirty. When the screen clears it runs the installer as committed now, not the copy
it started with, and it does nothing while install.sh has uncommitted changes; that edit's
own commit installs it.
The native Qt Quick tests exercise the actual pointer handler, animated displacement, drop geometry, cancellation, and same-row and cross-row model commits — for the icon tiles and the desk chips — without changing the running bar:
QT_QPA_PLATFORM=offscreen /usr/lib/qt6/bin/qmltestrunner -input tests -o -,txt
python3 tests/test_ws_renumber.pyThe second covers the desk renumbering's arithmetic and the files it moves. Its live half —
renumbering, reloading, renaming, and the panel's keys and drags — runs against a second
Hyprland nested on a hidden workspace, never the session in use: tests/nested/nested starts
it, puts the panel on it with a throwaway HOME, types and points into it, and screenshots it
(its header lists the steps).
MIT — see LICENSE.