Omarchy 4: eight desktop programs replaced by one

1 month ago

Every computer has a seam in it. A popup or a window that looks like it came off a different machine. Omarchy 4 is Linux, a free operating system you install instead of Windows. This release deleted eight of the programs that used to draw its own screen.

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00Omarchy 4 · a Linux system that rebuilt its own desktop
  2. 0:15Every piece of the screen came from a different program
  3. 0:36The eight programs became eight parts of one program
  4. 0:53One program means one set of colours
  5. 1:16Every surface here is a folder you can swap
  6. 1:39The keypress became a message to a program that never stopped running
  7. 1:56A plugin runs as part of the desktop itself
  8. 2:09The full disk install erases the drive you point it at
  9. 2:30Every part of this desktop is now something you can open
Show transcript

Omarchy 4 · a Linux system that rebuilt its own desktop

Omarchy 4

a Linux system that rebuilt its own desktop
MIT license, free to use Arch Linux installs from a USB stick

Every computer has a seam in it. A popup or a window that looks like it came off a different machine. Omarchy 4 is Linux, a free operating system you install instead of Windows. This release deleted eight of the programs that used to draw its own screen.

Every piece of the screen came from a different program

Every piece of the screen came from a different program.

Waybar
the strip along the top
Walker
the box that opens when you search for an app
Mako
the popup that says a message arrived
hyprlock
the lock screen
SwayOSD
the volume and brightness bar
swaybg
the wallpaper
hypridle
the timer that decides when to lock
polkit-gnome
the box that asks for your password
six of the eight carried a settings file of their own

The strip along the top of a desktop is one program. The box that opens when you search for an app is a second. The popup that says a message arrived is a third. And the lock screen is a fourth. Before this release there were eight of these pieces, each a separate program with its own idea of what a colour is. They match each other only by luck, and that is where the seam comes from.

The eight programs became eight parts of one program

The eight programs became eight parts of one program.

Waybar
Walker
Mako
hyprlock
SwayOSD
swaybg
hypridle
polkit-gnome
gone from a fresh install too, and not only removed on upgrade
↓
omarchy.bar omarchy.menu omarchy.notifications omarchy.osd omarchy.background omarchy.lock omarchy.idle omarchy.polkit

Upgrading to Omarchy 4 removes all eight of those programs. Install Omarchy 4 fresh today and the machine arrives without those eight. One program draws the strip, the search box, the notifications, the volume bar and the lock screen now. That program starts with the desktop and keeps running the whole time you are logged in.

One program means one set of colours

One program means one set of colours.

Omarchy 3, five theme files
waybar.css.tpl
the strip along the top
walker.css.tpl
the search box
mako.ini.tpl
the message popup
swayosd.css.tpl
the volume bar
hyprlock.conf.tpl
the lock screen
Omarchy 4, one theme file
shell.toml.tpl
its headings are the surfaces
[bar] [notifications] [menu] [launcher] [lock] [polkit]
background · foreground · accent · red, in all 22 shipped themes
every colour in that one file reads out of the theme’s own colour list

Colouring the old desktop meant five separate theme files. One for the strip, one for the search box, one for the popup, one for the volume bar, one for the lock screen. Omarchy 4 ships one file instead, and the headings inside it are the surfaces themselves. Every colour in that file points at one short list of colours the whole theme shares, so picking a different theme recolours the strip, the search box, the notifications and the lock screen together.

Every surface here is a folder you can swap

Every surface here is a folder you can swap.

one program
omarchy.bar omarchy.menu omarchy.notifications omarchy.osd omarchy.background omarchy.lock omarchy.idle omarchy.polkit
panels
omarchy.audio omarchy.bluetooth omarchy.monitor omarchy.clock omarchy.network omarchy.power
one list of every plugin the desktop found
one list of what the strip can hold
kept once for the whole desktop
37 of these description files ship with the release · six kinds a folder can declare: bar · bar widget · panel · overlay · menu · service
one settings file for the whole desktop: shell.json

One program sounds like the version of this where you give up being able to change anything. Inside that one program every surface is still its own separate piece. A plugin here is a folder with a small description file saying what kind of thing it is. The strip is a plugin. The notifications are a plugin. The lock screen is a plugin. And which one sits where lives in a single settings file you can open and edit, for the whole desktop.

The keypress became a message to a program that never stopped running

The keypress became a message to a program that never stopped running.

Omarchy 3
bindd = SUPER CTRL, A, Audio controls, exec, omarchy-launch-audio
Omarchy 4
o.bind("SUPER + CTRL + A", "Audio", "omarchy-shell shell toggle omarchy.audio")
the same keys, and the second one starts nothing

The shipped keyboard shortcuts show the same idea from the outside. The shortcut for the sound panel is Super, Control, A. Before this release those three keys ran a script that started a sound program in a terminal window. Now the same three keys ask the desktop itself to show the sound panel. That desktop program was already running.

A plugin runs as part of the desktop itself

A plugin runs as part of the desktop itself.

omarchy plugin add <git-url>
the web address of the plugin you want
omarchy plugin update
it shows you what changed before it applies anything

Anyone can write one of these surfaces. You point Omarchy at a web address, Omarchy copies the folder down, and then it asks you before switching the new plugin on. Omarchy never switches a new plugin on by itself, because the project wants you to read the code first.

The full disk install erases the drive you point it at

The full disk install erases the drive you point it at.

write it to a USB stick
Secure Boot and/or TPM come off in the BIOS
full disk encryption is on by default
the keyboard has to be plugged in for the disk password
MIT license, free to use Arch Linux v4.0.0

It is free and open, and it is Arch underneath, the build it yourself flavour of Linux. You write it to a USB stick and install it, and the full disk option erases the drive you point it at. You turn off Secure Boot, the TPM, or both, in the BIOS first. And you have to plug the keyboard in, because a Bluetooth one cannot type the disk password before the system is up.

Every part of this desktop is now something you can open

Every part of this desktop is now something you can open.

github.com/basecamp/omarchy
new repo tomorrow

The desktop stopped being a pile of programs sitting next to each other. All of it shipped five days ago, so what this desktop turns into next is up to whoever writes the next plugin. Omarchy 4 is on GitHub, at basecamp slash omarchy. There is a new repo here tomorrow.