hyperland themes issue
System details
after update to omarchy 3.3.0
What's wrong?
why?
Me as well, It completely fkd the hyprland theme system up. and nuking it and pulling the whole thing again felt easier to me! and I did.
@HaRishKhoJarE I did face the same issue & can you explain how did you fix that ? i am facing the same issue too.
Seems like whatever theme you were using has some invalid hyprland rules. You can run omarchy-theme-set "Tokyo Night" to reset to the default theme in the terminal, if you're having trouble setting it via the Omarchy menu. Then you can check the release notes for the link to update the hyprland rules for the theme in question π
I've the same issue after the update:
It persist even after running: omarchy-theme-set "Tokyo Night"
Looks like your update didn't complete because yq is installed with one of the migrations. Run omarchy-update to ensure all your migrations have been run π
This is what fixed my problem. I've 2 different yq installed on my machine. I've it removed and installed the one from pacman pkg manager. And performed omarchy-resinstall-configs and it fixed all missing colors template error with alacritty & waybar.
Thank you both @dhh @fidalcastro but it seems I still have some issue as you can see even after following your steps @fidalcastro:
@UllahNaseem Did you finish doing the update through Update > Omarchy? And did you restart the computer afterwards? Check that you're running Hyprland 0.53 with hyprland --version.
Thank you both @dhh @fidalcastro but it seems I still have some issue as you can see even after following your steps @fidalcastro:
Just to make sure, please check you git status in /omarchy, if not try pulling the latest version once.
@dhh Thank you! Yes, I ran the update through Update > Omarchy, but it got stuck on the gcc14 package update, so I had to abort. I'm running the update again now and it seems to be stuck again. Also, the hyprland --version output is correct:
Thank you both @dhh @fidalcastro but it seems I still have some issue as you can see even after following your steps @fidalcastro:
I am seeing the same, notably
Error: 1:86: lexer: invalid input text "^#\";\"\"))|g\""
I suspect it might have something to do with the following line in
~/.local/share/omarchy/bin/omarchy-theme-set-templates
# Generate standard and _strip substitutions
sed 's/=/:/' "$COLORS_FILE" | yq -r 'to_entries[] | "s|{{ \(.key) }}|\(.value)|g", "s|{{ \(.key)_strip }}|\(.value | sub("^#";""))|g"' > "$sed_script"
As a result, the templates from $OMARCHY_PATH/default/themed do not seem to be applied correctly. For example, in:~/.config/omarchy/current/theme/hyprland.conf the {{ accent_strip }} has not been replaced with an actual color value.
$activeBorderColor = rgb({{ accent_strip }})
general {
col.active_border = $activeBorderColor
}
group {
col.border_active = $activeBorderColor
}
or cat ~/.config/omarchy/current/theme/ghostty.conf shows
background = {{ background }}
foreground = {{ foreground }}
cursor-color = {{ cursor }}
selection-background = {{ selection_background }}
selection-foreground = {{ selection_foreground }}
palette = 0={{ color0 }}
palette = 1={{ color1 }}
palette = 2={{ color2 }}
palette = 3={{ color3 }}
palette = 4={{ color4 }}
palette = 5={{ color5 }}
palette = 6={{ color6 }}
palette = 7={{ color7 }}
palette = 8={{ color8 }}
palette = 9={{ color9 }}
palette = 10={{ color10 }}
palette = 11={{ color11 }}
palette = 12={{ color12 }}
palette = 13={{ color13 }}
palette = 14={{ color14 }}
palette = 15={{ color15 }}
@dommmel Exactly the same issue, i was facing too. Sorry i don't have solid answers, but config.toml has to be referred and update all other references, which isn't happening (For me too).
@UllahNaseem For me gcc14 was also trying to install ( and was taking too long ). In my case, I've it removed from yay and performed the omarchy-update, which will take you to this issue discussed here. Note: Removing gcc14 may have some other errors, which you've to fix them (for me, I ensured gcc was installed fine via pacman)
Below are the steps worked for me.
- Ensured omarch-update went fine clean
- Faced issue with color templates/references aren't get updated.
- Ensured yq from pacman is installed.
- Perform omarchy-reinstall-configs
β .config yq --version
yq 3.4.3
β .config yq
usage: yq [options] <jq filter> [input file...]
[jq_filter] [files ...]
yq: Command-line YAML processor - jq wrapper for YAML documents
yq transcodes YAML documents to JSON and passes them to jq.
See https://github.com/kislyuk/yq for more information.
Hope this helps π€
Thanks @fidalcastro
I had the wrong/newer yq version installed (package go-yq)
yq --version
yq (https://github.com/mikefarah/yq/) version v4.50.1
Uninstalled that and installed yq (v3) and problem is solved.
yay -S yq
Sync Explicit (1): yq-3.4.3-2
resolving dependencies...
looking for conflicting packages...
:: yq-3.4.3-2 and go-yq-4.50.1-1 are in conflict. Remove go-yq? [y/N] y
yq (https://github.com/mikefarah/yq/) version v4.50.1
Exactly, i did have mikefarah/yq which was shadowing the pacman's yq in $PATH. As mentioned earlier, removed all yq installation and stick with the one from pacman's solved mine. π»
how lucky I am It got solved for me so easily and I was thinking I am the unluckiest person. even update won't go smoothly for me! turns out you guys had full flegit war with it.
So, whenever someone installs go-yq, Omarchy's theming breaks?
Might be worth looking into
- replacing
yqin the problematic line of code with something else (e.g. awk or else) or - see if there is a syntax that works with v3 and v4
If that makes sense I'd be willing to draft a PR
Happy to replace yq with something else. Please do take a stab at a PR π
Iβve finally managed to update Omarchy to version 3.3.1, and everything works as expected. Thank you so much, @ddh, @fidalcastro, and @HaRishKhoJarE, for all your suggestions. I really appreciate it! Great job, Omarchy-Team! Itβs an amazing OS for developers, so thank you for keeping it alive and up to date. π

