DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Theme Work Failed (1)

Open snzsnz opened this issue 9 months ago • 23 comments

Compositor

Hyprland

If Other, please specify

No response

Distribution

CachyOS

If Other, please specify

No response

Select your Installation Method

DankInstaller

Was your original Installation method different?

Yes

If no, specify

No response

dms doctor -vC

Click to expand ## DMS Doctor Report

System

  • [ok] Operating System: CachyOS
    • ID: cachyos, Version: rolling, Arch: amd64
  • [ok] Architecture: amd64
  • [ok] Display Server: Wayland
    • WAYLAND_DISPLAY=wayland-1

Versions

  • [ok] DMS CLI: dms v1.4.2
    • /usr/bin/dms
  • [warn] Quickshell: quickshell 0.2.1, revision , distributed by: Arch Linux
    • /usr/bin/qs
  • [ok] DMS Shell: v1.4.2
    • /usr/share/quickshell/dms

Installation

  • [ok] DMS Configuration: Found
    • /usr/share/quickshell/dms
  • [ok] shell.qml: Present
    • /usr/share/quickshell/dms/shell.qml
  • [info] Install Type: System package
    • /usr/share/quickshell/dms

Compositor

  • [ok] Hyprland: 0.53.3
    • /usr/bin/hyprland
  • [info] Active: Hyprland

Quickshell Features

  • [info] Polkit: Not available
    • Authentication prompts
  • [info] IdleMonitor: Not available
    • Idle detection
  • [info] IdleInhibitor: Not available
    • Prevent idle/sleep
  • [info] ShortcutInhibitor: Not available
    • Allow shortcut management (niri)

Optional Features

  • [ok] accountsservice: Available
    • User accounts
  • [ok] power-profiles-daemon: Available
    • Power profile management
  • [ok] logind: Available
    • Session management
  • [ok] cups-pk-helper: Available
    • Printer management
  • [ok] I2C/DDC: 1 monitor(s) detected
    • External monitor brightness control
  • [ok] qt6-imageformats: Installed (5 formats)
    • Formats: WebP, TIFF, GIF, JP2, ICNS (/usr/lib/qt6/plugins/imageformats)
  • [warn] kimageformats: Not installed
    • AVIF, HEIF, JXL support
  • [ok] Terminal: kitty
  • [ok] Network: NetworkManager
    • NetworkManager present. Using NM API.
  • [ok] matugen: Installed
    • Dynamic theming
  • [ok] dgop: Installed
    • System monitoring
  • [ok] cava: Installed
    • Audio visualizer
  • [info] khal: Not installed
    • Calendar events
  • [info] danksearch: Not installed
    • File search
  • [info] fprintd: Not installed
    • Fingerprint auth

Config Files

  • [ok] settings.json: Present
    • /home/$USER/.config/DankMaterialShell/settings.json
  • [info] clsettings.json: Not yet created
    • /home/$USER/.config/DankMaterialShell/clsettings.json
  • [ok] plugin_settings.json: Present
    • /home/$USER/.config/DankMaterialShell/plugin_settings.json
  • [ok] session.json: Present
    • /home/$USER/.local/state/DankMaterialShell/session.json
  • [ok] dms-colors.json: Present
    • /home/$USER/.cache/DankMaterialShell/dms-colors.json

Services

  • [ok] dms.service: enabled, active
  • [info] greetd: Not installed
    • Optional greeter service

Environment

  • [info] QT_QPA_PLATFORMTHEME: Not set
  • [info] QS_ICON_THEME: Not set

Summary: 0 error(s), 2 warning(s), 24 ok

Description

After what seems like was a recent update I cannot get DARK theme to stick. It keeps reverting to light theme.

I use to use the Auto Theme which I understands bases the theme colours off the wallpaper but this results in Theme Worker Failed (1) pop up.

Not sure what else I can try.

Solutions Tried

Reinstalled matugen ❯ yay -S matugen-bin Recreated matugen folder in .config

tried themes from the theme store

Configuration Details

No response

Screenshots/Recordings

No response

snzsnz avatar Feb 27 '26 01:02 snzsnz

sudo cargo install --root /usr/local --git https://github.com/InioX/matugen --tag v3.1.0

Have attempted this and same issue.

snzsnz avatar Feb 27 '26 01:02 snzsnz

There's an upgrade to DMS v1.4.3 available and you should run Matugen 4.0.

purian23 avatar Feb 27 '26 13:02 purian23

Without logs its hard to say exactly what the problem is, but usually its a bad template in ~/.config/matugen

bbedward avatar Feb 27 '26 14:02 bbedward

Without logs its hard to say exactly what the problem is, but usually its a bad template in ~/.config/matugen

Thanks for your reply.

~/.config/matugen ❯ ls -lah total 0 drwxr-xr-x 1 USER USER 0 Feb 27 14:20 ./ drwxr-xr-x 1 USER USER 2.9K Feb 27 14:20 ../

Have updated to v1.4.3 (DMS) just now too..

same issue..

snzsnz avatar Mar 01 '26 21:03 snzsnz

Did you also upgrade matugen?

purian23 avatar Mar 01 '26 21:03 purian23

❯ yay -S aur/matugen-bin ❯ matugen -V matugen 4.0.0

quickshell 0.2.1, revision , distributed by: Arch Linux

❯ quickshell log [READER] Could not find "default" config directory or shell.qml in any valid config path.

yes - I did update it

Did

snzsnz avatar Mar 01 '26 21:03 snzsnz

As soon as I close the DMS Settings window (after setting dark theme) it reverts back to light theme.

snzsnz avatar Mar 01 '26 21:03 snzsnz

I also cannot reproduce that one. Do you have conflicting matugen configs set up for any other compositors? Anything unique in your set up etc?

purian23 avatar Mar 01 '26 21:03 purian23

=== matugen config === /home/USER/.config/matugen === autostart === === running processes === === compositor === Hyprland hyprland-uwsm

It was working fine until I did a recent update I beleve.

i don't have anything under the following. ls -la ~/.config/matugen/

is that the issue? Am I meant to have a TOML file here?

snzsnz avatar Mar 01 '26 21:03 snzsnz

That's where you'd define template overrides, ours are located elsewhere.

https://danklinux.com/docs/dankmaterialshell/application-themes#generated-files

purian23 avatar Mar 01 '26 21:03 purian23

❯ ls ~/.config/{gtk-3.0/dank-colors.css,gtk-4.0/dank-colors.css,qt5ct/colors/matugen.conf,qt6ct/colors/matugen.conf} ls: cannot access '/home/USER/.config/gtk-4.0/dank-colors.css': No such file or directory ls: cannot access '/home/USER/.config/qt5ct/colors/matugen.conf': No such file or directory ls: cannot access '/home/USER/.config/qt6ct/colors/matugen.conf': No such file or directory /home/USER/.config/gtk-3.0/dank-colors.css

Is that my issue?

I did use GTK Settings to customise the them to use colloid-Dark. NWG-look v1.0.6

Can I fix this somehow to use the DMS ones instead?

snzsnz avatar Mar 01 '26 21:03 snzsnz

Image

snzsnz avatar Mar 01 '26 22:03 snzsnz

You could remove and regenerate them in the Themes tab at the bottom.

You should also update your environment [info] QT_QPA_PLATFORMTHEME: Not set to gtk3 and sudo pacman -S adw-gtk-theme

Image

purian23 avatar Mar 01 '26 22:03 purian23

Image Image

I get this when I try to apply this.

I have ran sudo pacman -S adw-gtk-theme

How do I remove them? Which Themes tab do you mean please?

snzsnz avatar Mar 01 '26 22:03 snzsnz

That theme tab you're showing, is the one. Did you install the required qt6ct-kde it mentions there? You remove them like anything else in your files using the rm command or right click and delete. I would do a bit of searching here.

purian23 avatar Mar 01 '26 22:03 purian23

Have just installed qt6ct-kde

I have made some progress. I created

Image

An now I get

Image

When I click

Image

However, dark theme does not stay set.

snzsnz avatar Mar 01 '26 22:03 snzsnz

Maybe run dms restart but otherwise, we'll have to look into it as I cannot reproduce the issue.

purian23 avatar Mar 01 '26 22:03 purian23

After I change to dark theme I get this error

Image

I will try dms restart now

snzsnz avatar Mar 01 '26 22:03 snzsnz

Are there logs for DMS to find why "theme worker failed" is happening?

snzsnz avatar Mar 01 '26 22:03 snzsnz

Oh you're overriding dark mode with Auto light modes time-set. That's another setting entirely. And no, everything just performed should have fixed it. I'd read the docs more and you can try running dms run to see live logs instead of via systemd or otherwise. But again, the docs will guide you here.

purian23 avatar Mar 01 '26 22:03 purian23