omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Config errors after update

Open storkenlorken opened this issue 10 months ago • 17 comments

System details

Omarchy 3.2.2

What's wrong?

After update (sudo pacman -Syu) I got a bunch of config errors. Keep in mind, I am no arch expert :D Any ideas?

Image

storkenlorken avatar Jan 17 '26 14:01 storkenlorken

try the update with the standard omarchy update may be let it complete then reboot maybe there are som mention of hyprland issue in the release notes for 3.3.

28allday avatar Jan 17 '26 14:01 28allday

I also got this error along with another issue that caused a reboot loop, had to rollback to an older snapshot, but the config errors remain, all menus now have transparent backgrounds and waybar is not displaying. I got these issues after using the standard omarchy update not pacman.

Image Image

Ph-ill avatar Jan 17 '26 15:01 Ph-ill

@Ph-ill read my comment here, you just need to reboot.

@Emil12232335 like 28allday said, you should update Omarchy with the custom builtin updater (at least when there is a new Omarchy version). It pulls the latest Omarchy configs and runs migrations. The new version of Hyprland (0.53) introduces breaking changes to the window rules syntax and needs the latest configs. You can read about Omarchy updates in the Omarchy docs.

hbouttev avatar Jan 17 '26 18:01 hbouttev

it broken everything. even wifi doesnt work anymore and i cant reinstall it.

cjoshmarshall avatar Jan 17 '26 18:01 cjoshmarshall

it broken everything. even wifi doesnt work anymore and i cant reinstall it.

can you back get any where with your snap shots? once you do there is this

If somehow your configuration files have been corrupted, you can also perform an Omarchy reinstall using omarchy-reinstall in the terminal. This will restore your Omarchy installation to the latest release, put you on stable and downgrade any packages, and reset all the configuration files. Note that all your user config changes to the Omarchy defaults will be overwritten doing this!

28allday avatar Jan 17 '26 19:01 28allday

@Ph-ill read my comment here, you just need to reboot.

@Emil12232335 like 28allday said, you should update Omarchy with the custom builtin updater (at least when there is a new Omarchy version). It pulls the latest Omarchy configs and runs migrations. The new version of Hyprland (0.53) introduces breaking changes to the window rules syntax and needs the latest configs. You can read about Omarchy updates in the Omarchy docs.

Unfortunately rebooting doesn't resolve the issue, nor does updating hyprland plugins.

I've uploaded system logs here - https://0x0.st/PKZI.log

Ph-ill avatar Jan 17 '26 21:01 Ph-ill

Unfortunately rebooting doesn't resolve the issue, nor does updating hyprland plugins.

I've uploaded system logs here - https://0x0.st/PKZI.log

According to your log, your packages are not updated (Linux 6.17 and Hyprland 0.52.2).

I also got this error along with another issue that caused a reboot loop, had to rollback to an older snapshot

Since you booted from a snapshot after the update, the root filesystem was rollback but not your home. This explains that you still have the latest config but not the latest packages. After rebooting on the snapshot, did you restore it and reboot before doing anything else? (see Omarchy doc for the simplest way). If so, are you sure you didn't boot the snapshot again instead of the "Linux" entry?

If you're not on the snapshot, try updating from the Omarchy menu again, you should have packages to update again.

hbouttev avatar Jan 17 '26 23:01 hbouttev

Unfortunately rebooting doesn't resolve the issue, nor does updating hyprland plugins. I've uploaded system logs here - https://0x0.st/PKZI.log

According to your log, your packages are not updated (Linux 6.17 and Hyprland 0.52.2).

I also got this error along with another issue that caused a reboot loop, had to rollback to an older snapshot

Since you booted from a snapshot after the update, the root filesystem was rollback but not your home. This explains that you still have the latest config but not the latest packages. After rebooting on the snapshot, did you restore it and reboot before doing anything else? (see Omarchy doc for the simplest way). If so, are you sure you didn't boot the snapshot again instead of the "Linux" entry?

If you're not on the snapshot, try updating from the Omarchy menu again, you should have packages to update again.

I just tried updating again and it did the same thing as before, put me in a boot loop which seems to hang on

A start job is running for...TPM SRK Setup A start job is running for... Measurement

And then reboot.

I did previously restore and reboot before doing anything else, I have done it again as it is my last working snapshot, I'm positive I am running the "Linux" entry.

Ph-ill avatar Jan 18 '26 01:01 Ph-ill

I did previously restore and reboot before doing anything else, I have done it again as it is my last working snapshot, I'm positive I am running the "Linux" entry.

Perfect, needed to ask.

I just tried updating again and it did the same thing as before, put me in a boot loop which seems to hang on

A start job is running for...TPM SRK Setup A start job is running for... Measurement

And then reboot.

Oh ok, this is another issue. The Hyprland errors just come from the updated config in home vs packages not updated in root from snapshot, and will be solved after update and reboot.

Your issue looks like this one and is related to an issue in systemd 259 regarding TPM. You can find workarounds in these threads.

hbouttev avatar Jan 18 '26 02:01 hbouttev

I updated Omarchy today using omarchy-update and ran into the same Hyprland errors.

The only way I was able to get Hyprland into a clean, error-free state was by manually editing the following files:

~/.local/share/omarchy/default/hypr/apps/

  • walker.conf
  • webcam-overlay.conf
  • terminals.conf
  • system.conf
  • steam.conf
  • retroarch.conf
  • qemu.conf
  • pip.conf
  • localsend.conf
  • jetbrains.conf
  • hyprshot.conf
  • browser.conf
  • bitwarden.conf
  • 1password.conf
  • windows.conf

Each of these contained unresolved merge conflict markers:

<<<<<<< Updated upstream

Stashed changes

Removing these markers entirely resolves part of the issue.

Additionally, there appear to be upstream Hyprland syntax changes that are not yet reflected in Omarchy’s configs:

  1. windowrule has been replaced by windowrulev2
  2. layerrule now requires block syntax, for example:

layerrule { name = walker_ match:namespace = walker no_anim = on }

Without updating these, Hyprland fails to load the configs correctly after an update.

This looks like a mismatch between Omarchy’s shipped configs and recent Hyprland changes rather than a user-side misconfiguration.

h3bzzz avatar Jan 18 '26 18:01 h3bzzz

I did previously restore and reboot before doing anything else, I have done it again as it is my last working snapshot, I'm positive I am running the "Linux" entry.

Perfect, needed to ask.

I just tried updating again and it did the same thing as before, put me in a boot loop which seems to hang on A start job is running for...TPM SRK Setup A start job is running for... Measurement And then reboot.

Oh ok, this is another issue. The Hyprland errors just come from the updated config in home vs packages not updated in root from snapshot, and will be solved after update and reboot.

Your issue looks like this one and is related to an issue in systemd 259 regarding TPM. You can find workarounds in these threads.

Disabling TPM allowed me to update and boot successfully, I was still getting some hyprland config errors and no waybar etc. I didn't have time to look into each of the errors so I ran omarchy-reinstall rebooted and then reapplied my custom configs, now everything is working perfectly again.

Thank you so much for your help!

Ph-ill avatar Jan 18 '26 20:01 Ph-ill

The only way I was able to get Hyprland into a clean, error-free state was by manually editing the following files: [...] Each of these contained unresolved merge conflict markers:

<<<<<<< Updated upstream

Stashed changes

Removing these markers entirely resolves part of the issue.

You shouldn't have merge conflicts in these files after the update. The repo at .local/share/omarchy/is just pulled from origin during the update. Unless you edited them to make modifications, which you shouldn't. Did you encounter any errors during the update, particularly git errors?

1. `windowrule` has been replaced by `windowrulev2`

It hasn't. windowrulev2 is deprecated, the keyword still exists for compatibility. It's actually the same as windowrule. Hyprland 0.53 introduces breaking changes to the window rules syntax only, not the keyword.

2. `layerrule` now requires block syntax, for example:

It doesn't. Please read Hyprland docs for latest version.

Without updating these, Hyprland fails to load the configs correctly after an update.

This looks like a mismatch between Omarchy’s shipped configs and recent Hyprland changes rather than a user-side misconfiguration.

Omarchy 3.3 update adjusted the config to the new syntax by pulling the git repo and running migrations. If you updated via Omarchy custom updater (menu or omarchy-update) without errors, you should have the new config files.

hbouttev avatar Jan 18 '26 23:01 hbouttev

I also had various config errors that did not resolve with reboot. I didn't want to omarchy-reinstall and lose my custom configs.

for the waybar issue, I was able to get waybar to show up again by deleting the first line in ~/.config/waybar/style.css, which refers to a theme file that doesn't appear anymore: #4327

jason-curtis avatar Jan 20 '26 23:01 jason-curtis

This is so sad to see all my configs and keybindings are basically gone after the upgrade and doing what people have been asking to do in the issues. This is really sad that I lost an hour of my life fixing configs after upgrade which I'll never get back...

Now I'm running omarchy-reinstall to at least get out this weird loop... And we've been complaining about windows updates these whole time...

Image

khaled4vokalz avatar Jan 24 '26 17:01 khaled4vokalz

Proposed Solution: User Config Migration Script

I've been affected by this issue after updating to Hyprland 0.53+ and wrote a comprehensive migration script. Wanted to share the approach before submitting a PR.

Background

PR #4025 correctly updated Omarchy's default configs, but users with customizations in ~/.config/hypr/apps/ or other user config files still face hundreds of deprecation warnings. The Hyprland wiki migration guide documents the changes but doesn't provide automated tooling.

Proposed Approach

A migration script placed in ~/.local/share/omarchy/migrations/ that:

  1. Scans ~/.config/hypr/ for files containing deprecated syntax
  2. Backs up each file before modification (timestamped .bak files)
  3. Transforms all 24 syntax patterns from PR #4025
  4. Verifies with hyprctl configerrors after migration
  5. Sets reboot-required state (to pair configs with new Hyprland version)

Transformations Covered

Category Examples
Matcher prefix class:X → match:class X, title:X → match:title X, tag:X → match:tag X
Field renames initialTitle: → match:initial_title, floating:1 → match:float 1
Boolean effects float → float on, pin → pin on, center → center on, tile → tile on
Snake_case renames nofocus → no_focus on, stayfocused → stay_focused on, noinitialfocus → no_initial_focus on
Field replacements noborder → border_size 0, noanim → animation none, idleinhibit → idle_inhibit
Layerrule layerrule = noanim, X → layerrule = animation none, match:namespace X

Validation

Tested against real patterns from your default configs:

Test Input (old syntax)
# 1Password & Bitwarden
windowrule = noscreenshare, class:^(1[p|P]assword)$
windowrule = tag +floating-window, class:^(1[p|P]assword)$

# JetBrains IDE rules  
windowrule = tag +jetbrains-splash, class:^(jetbrains-.*)$, title:^(splash)$, floating:1
windowrule = noborder, tag:jetbrains-splash
windowrule = stayfocused, tag:jetbrains

# Hyprshot layerrule
layerrule = noanim, selection

# Picture-in-Picture
windowrule = float, tag:pip
windowrule = keepaspectratio, tag:pip
Test Output (new syntax) ✅
# 1Password & Bitwarden
windowrule = no_screen_share on, match:class ^(1[p|P]assword)$
windowrule = tag +floating-window, match:class ^(1[p|P]assword)$

# JetBrains IDE rules
windowrule = tag +jetbrains-splash, match:class ^(jetbrains-.*)$, match:title ^(splash)$, match:float 1
windowrule = border_size 0, match:tag jetbrains-splash
windowrule = stay_focused on, match:tag jetbrains

# Hyprshot layerrule
layerrule = animation none, match:namespace selection

# Picture-in-Picture
windowrule = float on, match:tag pip
windowrule = keep_aspect_ratio on, match:tag pip

Safety Considerations

  • Skips symlinks to avoid modifying system files
  • Creates backups with unique timestamps before any modification
  • Preserves regex anchors (^...$) exactly as-is
  • Handles edge cases: boolean matchers with true/false (not just 0/1), effects at end-of-line
  • Uses shopt -s nullglob for safe glob handling

Questions

  1. Should this be an automatic migration (runs on omarchy-update) or a manual script users invoke?
  2. Should it target only ~/.config/hypr/apps/*.conf or scan all .conf files in ~/.config/hypr/?
  3. Any other patterns I might have missed from the 0.53 changes?

Happy to submit a PR or adjust the approach based on your feedback. The script is ready and tested.

robertogogoni avatar Feb 01 '26 07:02 robertogogoni

Full Script (for testing)

Gist: https://gist.github.com/robertogogoni/138f2ade1269ce0a6433fba367786d3b

Quick install:

curl -o /tmp/migrate.sh https://gist.githubusercontent.com/robertogogoni/138f2ade1269ce0a6433fba367786d3b/raw/migrate-user-windowrules.sh
chmod +x /tmp/migrate.sh
/tmp/migrate.sh

Backups are created automatically with .bak.TIMESTAMP.PID extension, so you can revert if needed.

View full script (click to expand)
#!/bin/bash
# Migration: Update user window rules to Hyprland 0.53+ syntax
# Transforms windowrulev2 and old matcher syntax in ~/.config/hypr/
#
# Based on Hyprland 0.53 breaking changes (PR #4025):
# - Props use `match:` prefix: `class:pattern` → `match:class pattern`
# - Boolean effects require `on` suffix: `float` → `float on`
# - Snake_case naming: `nofocus` → `no_focus`, `stayfocused` → `stay_focused`
# - `noborder` → `border_size 0`
# - `noanim` → `animation none`
# - `idleinhibit` → `idle_inhibit`
# - layerrule: `noanim, X` → `animation none, match:namespace X`
#
# See: https://github.com/hyprwm/hyprland-wiki/pull/1278
# Fixes: https://github.com/basecamp/omarchy/issues/4291

echo "Migrating user window rules to Hyprland 0.53+ syntax"

USER_APPS_DIR="$HOME/.config/hypr/apps"
USER_HYPR_DIR="$HOME/.config/hypr"

shopt -s nullglob

OLD_SYNTAX_PATTERN='windowrulev2|[^h:]class:|[^h:]title:|[^h:]tag:|initialTitle:|initialClass:|xwayland:|floating:|fullscreen:|pinned:|= ?float,|= ?float$|= ?pin,|= ?pin$|= ?center,|= ?center$|= ?fullscreen,|= ?fullscreen$|= ?tile,|= ?tile$|[=,] ?nofocus|[=,] ?noanim|[=,] ?noborder|[=,] ?nodim|[=,] ?suppressevent|[=,] ?stayfocused|[=,] ?noinitialfocus|[=,] ?nofollowmouse|[=,] ?keepaspectratio|[=,] ?noscreenshare|[=,] ?idleinhibit'

if ! grep -rqE "$OLD_SYNTAX_PATTERN" "$USER_HYPR_DIR" 2>/dev/null; then
  echo "No user configs need migration"
  exit 0
fi

migrate_file() {
  local conf_file="$1"
  [[ -f "$conf_file" ]] || return 0
  [[ -L "$conf_file" ]] && return 0
  grep -qE "$OLD_SYNTAX_PATTERN" "$conf_file" || return 0

  echo "Migrating: $conf_file"
  cp "$conf_file" "${conf_file}.bak.$(date +%s).$$"

  sed -i 's/^windowrulev2/windowrule/' "$conf_file"
  sed -Ei 's/([, ])class:/\1match:class /g' "$conf_file"
  sed -Ei 's/([, ])title:/\1match:title /g' "$conf_file"
  sed -Ei 's/([, ])initialTitle:/\1match:initial_title /g' "$conf_file"
  sed -Ei 's/([, ])initialClass:/\1match:initial_class /g' "$conf_file"
  sed -Ei 's/([, ])tag:/\1match:tag /g' "$conf_file"
  sed -Ei 's/([, ])xwayland:([01]|true|false)/\1match:xwayland \2/g' "$conf_file"
  sed -Ei 's/([, ])floating:([01]|true|false)/\1match:float \2/g' "$conf_file"
  sed -Ei 's/([, ])fullscreen:([01]|true|false)/\1match:fullscreen \2/g' "$conf_file"
  sed -Ei 's/([, ])pinned:([01]|true|false)/\1match:pin \2/g' "$conf_file"
  sed -Ei 's/= ?float,/= float on,/g' "$conf_file"
  sed -Ei 's/= ?float$/= float on/g' "$conf_file"
  sed -Ei 's/= ?pin,/= pin on,/g' "$conf_file"
  sed -Ei 's/= ?pin$/= pin on/g' "$conf_file"
  sed -Ei 's/= ?center,/= center on,/g' "$conf_file"
  sed -Ei 's/= ?center$/= center on/g' "$conf_file"
  sed -Ei 's/= ?fullscreen,/= fullscreen on,/g' "$conf_file"
  sed -Ei 's/= ?fullscreen$/= fullscreen on/g' "$conf_file"
  sed -Ei 's/= ?tile,/= tile on,/g' "$conf_file"
  sed -Ei 's/= ?tile$/= tile on/g' "$conf_file"
  sed -Ei 's/= ?nofocus,/= no_focus on,/g' "$conf_file"
  sed -Ei 's/, ?nofocus,/, no_focus on,/g' "$conf_file"
  sed -Ei 's/= ?noinitialfocus,/= no_initial_focus on,/g' "$conf_file"
  sed -Ei 's/, ?noinitialfocus,/, no_initial_focus on,/g' "$conf_file"
  sed -Ei 's/= ?stayfocused,/= stay_focused on,/g' "$conf_file"
  sed -Ei 's/, ?stayfocused,/, stay_focused on,/g' "$conf_file"
  sed -Ei 's/= ?nofollowmouse,/= no_follow_mouse on,/g' "$conf_file"
  sed -Ei 's/, ?nofollowmouse,/, no_follow_mouse on,/g' "$conf_file"
  sed -Ei 's/= ?keepaspectratio,/= keep_aspect_ratio on,/g' "$conf_file"
  sed -Ei 's/, ?keepaspectratio,/, keep_aspect_ratio on,/g' "$conf_file"
  sed -Ei 's/= ?nodim,/= no_dim on,/g' "$conf_file"
  sed -Ei 's/, ?nodim,/, no_dim on,/g' "$conf_file"
  sed -Ei 's/= ?idleinhibit /= idle_inhibit /g' "$conf_file"
  sed -Ei 's/, ?idleinhibit /, idle_inhibit /g' "$conf_file"
  sed -Ei 's/= ?noscreenshare,/= no_screen_share on,/g' "$conf_file"
  sed -Ei 's/, ?noscreenshare,/, no_screen_share on,/g' "$conf_file"
  sed -Ei 's/= ?noborder,/= border_size 0,/g' "$conf_file"
  sed -Ei 's/, ?noborder,/, border_size 0,/g' "$conf_file"
  sed -Ei 's/= ?suppressevent /= suppress_event /g' "$conf_file"
  sed -Ei 's/, ?suppressevent /, suppress_event /g' "$conf_file"
  sed -Ei 's/^layerrule = ?noanim, ?([a-zA-Z0-9._-]+)/layerrule = animation none, match:namespace \1/' "$conf_file"
  sed -Ei 's/= ?noanim,/= animation none,/g' "$conf_file"
  sed -Ei 's/, ?noanim,/, animation none,/g' "$conf_file"
}

files_before=$(grep -rlE "$OLD_SYNTAX_PATTERN" "$USER_HYPR_DIR" 2>/dev/null | wc -l)
echo "Found $files_before file(s) with deprecated syntax"

if [[ -d "$USER_APPS_DIR" ]]; then
  for conf_file in "$USER_APPS_DIR"/*.conf; do
    migrate_file "$conf_file"
  done
fi

for conf_file in "$USER_HYPR_DIR"/*.conf; do
  [[ -f "$conf_file" ]] || continue
  [[ $(wc -l < "$conf_file") -gt 3 ]] || continue
  migrate_file "$conf_file"
done

echo ""
echo "Migration complete!"
echo "Backups created with .bak.TIMESTAMP.PID extension"

if command -v hyprctl &>/dev/null; then
  echo ""
  echo "Verifying configuration..."
  errors=$(hyprctl configerrors 2>&1)
  if [[ -z "$errors" ]] || [[ "$errors" == *"no errors"* ]]; then
    echo "✓ No config errors detected"
  else
    echo "⚠ Config errors detected - please review:"
    echo "$errors"
  fi
fi

omarchy-state set reboot-required 2>/dev/null || true

robertogogoni avatar Feb 01 '26 07:02 robertogogoni

If you've made changes internally to Omarchy, which prevent git from applying the latest updates, then the update path will be broken, and you'll be stuck with old rules that don't work on the latest Hyprland. I'd strongly encourage you not to change the internal Omarchy files. You can see more about that here: https://learn.omacom.io/2/the-omarchy-manual/65/dotfiles#changing-internal-omarchy-files

If you need to reset, then omarchy-reinstall attempts to fully reset both your internal Omarchy folder and all your other configs. Make sure to take a backup of anything you've changed first.

dhh avatar Feb 01 '26 10:02 dhh