Changing the theme via omarchy-menu broke the Hyprland config.
System details
Omarchy 3.3.0
What's wrong?
Trying to change the theme via Omarchy menu broke the hyprland config.
I can get in working normally with some warning by invoking omarchy-theme-set directly
.
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.
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 }})
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.
@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 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!
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?
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
Thank you for the hint with yq! I fixed this and other post-update problems by running
python -m pip install yq
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 👀
I've cherrypicked the yq-free theme selection onto master. So if you hop back on master and update, you'll get it now.