Omarchy 4: eight desktop programs replaced by one

3 months 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 about 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
  1. 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.

    Slide text

    Omarchy 4

    a Linux system that rebuilt its own desktop
    MIT license, free to use Arch Linux installs from a USB stick
  2. 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.

    Slide text

    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
  3. 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.

    Slide text

    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
  4. 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.

    Slide text

    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
  5. 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.

    Slide text

    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
  6. 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.

    Slide text

    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
  7. 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.

    Slide text

    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
  8. 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.

    Slide text

    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
  9. 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.

    Slide text

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

    github.com/basecamp/omarchy
    new repo tomorrow

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York