[BUG] Statusbar color does not change with the wallpaper
Describe the bug
even thought I've tried mutable wallpapers, the status bar is always in an orange color theme.
Steps to reproduce
- activate quickshell statusbar
- change the wallpaper using the quickshell app
- see error
Expected behavior
The color of the quickshell statusbar should change based on the wallpaper color.
Screenshots
N/A
Distribution
Arch Linux
If Other, specify
No response
Additional context
N/A
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
This is strange. Works on all my systems. Is matugen installed correctly?
I suspect this issue might be caused by a behavior change in Matugen 4.0.0+, which now prompts the user interactively when multiple dominant colors are found in an image. When executed in the background without a terminal (TTY) in wallpaper.sh, Matugen crashes with a Multiple source colors found, no preference was inputted error. I'm not 100% sure if this is actually the case here, but older Matugen versions did not have this prompt and automatically defaulted to the first color, explaining why it works on your systems. Because of the crash, the template generation fails, leaving the status bar colors unchanged. You can test if this is the issue by adding --source-color-index 0 to the Matugen command in ~/.config/hypr/scripts/wallpaper.sh.
yeah I can see that. As Mattugen v4.0 broke a lot of stuff. :(
It seems like I have a strange version issue, but I have no clue how to fix this.
matugen -V
matugen 2.4.1
~
❯ sudo pacman -Rns matugen
checking dependencies...
Packages (1) matugen-4.1.0-1
Total Removed Size: 12.77 MiB
:: Do you want to remove these packages? [Y/n] Y
:: Processing package changes...
(1/1) removing matugen [############################] 100%
ldconfig: File /usr/lib/libxapp.so.3.2.0 is empty, not checked.
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
~
❯ sudo pacman -S matugen
resolving dependencies...
looking for conflicting packages...
Packages (1) matugen-4.1.0-1
Total Installed Size: 12.77 MiB
:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [############################] 100%
(1/1) checking package integrity [############################] 100%
(1/1) loading package files [############################] 100%
(1/1) checking for file conflicts [############################] 100%
(1/1) checking available disk space [############################] 100%
:: Processing package changes...
(1/1) installing matugen [############################] 100%
ldconfig: File /usr/lib/libxapp.so.3.2.0 is empty, not checked.
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
~
❯ matugen -V
matugen 2.4.1
Yes. You need matugen 4.x. Can you try to install it manually? Try to uninstall your current version and install it again.
@Veicm - If you run cargo install --list | grep matugen, do you see matugen installed via that method?
@mylinuxforwork - For Arch installs, do you prefer matugen installed via cargo or via pacman?
@hurlbutt Thank you, it was installed via cargo, now I use the pacman Installation and everything works fine.
Great. Thanks for your feedback.