dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Statusbar color does not change with the wallpaper

Open Veicm opened this issue 4 months ago • 8 comments

Describe the bug

even thought I've tried mutable wallpapers, the status bar is always in an orange color theme.

Steps to reproduce

  1. activate quickshell statusbar
  2. change the wallpaper using the quickshell app
  3. 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

Veicm avatar Jul 13 '26 17:07 Veicm

This is strange. Works on all my systems. Is matugen installed correctly?

mylinuxforwork avatar Jul 13 '26 18:07 mylinuxforwork

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.

tetam01 avatar Jul 13 '26 20:07 tetam01

yeah I can see that. As Mattugen v4.0 broke a lot of stuff. :(

dwilliam62 avatar Jul 13 '26 20:07 dwilliam62

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

Veicm avatar Jul 14 '26 14:07 Veicm

Yes. You need matugen 4.x. Can you try to install it manually? Try to uninstall your current version and install it again.

mylinuxforwork avatar Jul 14 '26 18:07 mylinuxforwork

@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 avatar Jul 14 '26 19:07 hurlbutt

@hurlbutt Thank you, it was installed via cargo, now I use the pacman Installation and everything works fine.

Veicm avatar Jul 15 '26 14:07 Veicm

Great. Thanks for your feedback.

mylinuxforwork avatar Jul 15 '26 20:07 mylinuxforwork