omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Changing the theme via omarchy-menu broke the Hyprland config.

Open ardfard opened this issue 10 months ago • 10 comments

System details

Omarchy 3.3.0

What's wrong?

Trying to change the theme via Omarchy menu broke the hyprland config.

Image

I can get in working normally with some warning by invoking omarchy-theme-set directly

Image.

ardfard avatar Jan 10 '26 12:01 ardfard

Hi there, I had the same config error messages after the update, indicating broken themes. For me, the issue was that somehow the package yq was missing, which caused issues in properly generating the rendered config files filled with the theme-specific colors, but I assume given that you are able to invoke it manually, that might not be the issue for you?

Love your profile picture btw.

le0ff avatar Jan 10 '26 16:01 le0ff

i am on 3.3.3 and i have the same error message after updating the system. I have not changed any theme manually, i think my theme stayed the same, but another background image was selected without my input. Is there already a fix?

I tried chnagin to a different theme, but in elephant there is no other themes.

The line in question that gives the error seen is the following for me:

$activeBorderColor = rgb({{ accent_strip }})

ablluu avatar Jan 10 '26 17:01 ablluu

According to my trusty chatbot the issue is the {{ value }} interfering with a new syntax of hyprland where this is some kind of oprand thing for values like

{{ $var1 = $var2 }}.

Hotfix to get the error away is to take away the expression with the {{ expr }} and just plug in a value directly. Assuming your code looks a bit like mine just plug a color value of your choosing in hex in there and the error disappears.

ablluu avatar Jan 10 '26 18:01 ablluu

@ardfard Did you already have yq installed as well? I think that might be the issue. We have this fixed on dev by removing the need to have yq installed.

@ablluu I believe your issue is that your update didn't finish, so your migrations didn't run. Run omarchy-migrate to remedy that directly.

dhh avatar Jan 10 '26 19:01 dhh

@dhh I have yq installed, but it’s installed via Nix Home Manager.

I also tried switching to the dev branch, and I can confirm that it’s fixed on my machine as well. Thanks!

ardfard avatar Jan 11 '26 00:01 ardfard

O confirm, dev branch works fine... @dhh if we stay o dev branch, will we still able to update omarchy when a new release is created? I mean, the update icon will pop on waybar?

ruifrodrigues avatar Jan 11 '26 11:01 ruifrodrigues

O confirm, dev branch works fine... @dhh if we stay o dev branch, will we still able to update omarchy when a new release is created? I mean, the update icon will pop on waybar?

i am in dev channel and i can confirm that, that icon appears even on dev channel

felixzsh avatar Jan 12 '26 02:01 felixzsh

Thank you for the hint with yq! I fixed this and other post-update problems by running

python -m pip install yq

alexandrelaplante avatar Jan 20 '26 18:01 alexandrelaplante

switching to dev worked for me as well, but when will the main branch receive the update. I just don't feel save on dev 👀

BlacAc3 avatar Jan 27 '26 10:01 BlacAc3

I've cherrypicked the yq-free theme selection onto master. So if you hop back on master and update, you'll get it now.

dhh avatar Jan 27 '26 10:01 dhh