Skip to content

Theme Changes Failing to Apply After Matugen 4.0.0 #1688

Description

@SaadAhmedGit

Compositor

  • Niri
  • Hyprland
  • MangoWC (dwl)
  • Sway

Distribution

  • Arch Linux
  • CachyOS
  • Fedora
  • NixOS
  • Debian
  • Ubuntu
  • Gentoo
  • OpenSUSE
  • Other (specify below)

If Other, please specify

No response

dms doctor -v

██████╗ █████╗ ███╗ ██╗██╗ ██╗
██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝
██║ ██║███████║██╔██╗ ██║█████╔╝
██║ ██║██╔══██║██║╚██╗██║██╔═██╗
██████╔╝██║ ██║██║ ╚████║██║ ██╗
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝

System Health Check

──────────────────────────────────────

System
● Operating System ····· Arch Linux
└─ ID: arch, Version: rolling, Arch: amd64
● Architecture ········· amd64
● Display Server ······· Wayland
└─ WAYLAND_DISPLAY=wayland-1

Versions
● DMS CLI ·············· dms v1.2.3
└─ /usr/bin/dms
● Quickshell ··········· quickshell 0.2.1, revision 395a1301a83e98dafc325289630ccacda5d69607, distributed by: AUR (package: quickshell-git)
└─ /usr/bin/qs
● DMS Shell ············ v1.2.3
└─ /usr/share/quickshell/dms

Installation
● DMS Configuration ···· Found
└─ /usr/share/quickshell/dms
● shell.qml ············ Present
└─ /usr/share/quickshell/dms/shell.qml
○ Install Type ········· System package
└─ /usr/share/quickshell/dms

Compositor
● niri ················· 25.11
└─ /usr/bin/niri
○ Active ··············· niri

Quickshell Features
● Polkit ··············· Available
└─ Authentication prompts
● IdleMonitor ·········· Available
└─ Idle detection
● IdleInhibitor ········ Available
└─ Prevent idle/sleep
● ShortcutInhibitor ···· Available
└─ Allow shortcut management (niri)

Optional Features
● accountsservice ······ Available
└─ User accounts
● power-profiles-daemon Available
└─ Power profile management
● logind ··············· Available
└─ Session management
● I2C/DDC ·············· 1 monitor(s) detected
└─ External monitor brightness control
● Terminal ············· ghostty
● Network ·············· NetworkManager
└─ NetworkManager present. Using NM API.
● matugen ·············· Installed
└─ Dynamic theming
● dgop ················· Installed
└─ System monitoring
● cava ················· Installed
└─ Audio visualizer
○ khal ················· Not installed
└─ Calendar events
● danksearch ··········· Installed
└─ File search
○ fprintd ·············· Not installed
└─ Fingerprint auth

Config Files
● settings.json ········ Present
└─ /home/saad/.config/DankMaterialShell/settings.json
○ clsettings.json ······ Not yet created
└─ /home/saad/.config/DankMaterialShell/clsettings.json
○ plugin_settings.json · Not yet created
└─ /home/saad/.config/DankMaterialShell/plugin_settings.json
● session.json ········· Present
└─ /home/saad/.local/state/DankMaterialShell/session.json
● dms-colors.json ······ Present
└─ /home/saad/.cache/DankMaterialShell/dms-colors.json

Services
● dms.service ·········· enabled, active
● greetd ··············· enabled

Environment
○ QT_QPA_PLATFORMTHEME · gtk3
○ QS_ICON_THEME ········ Not set

──────────────────────────────────────
✓ All checks passed!

Description

Whenever a theme change happens, there's an error message pop-up shown saying "Theme worker failed (1)"

This is probably related to Matugen releasing its version v4.0.0 which has breaking changes.

Expected Behavior

Theme changes applying successfully and without an error message pop-up.

Steps to Reproduce & Installation Method

  1. Have Matugen installed and configured for use with DMS.
  2. Go to Settings > Theme & Colors.
  3. Change Matugen Palette to any other value than the current one.
  4. Error message will pop-up

Error Messages/Logs

Pop-up:

Theme worker failed (1)

journalctl:

Feb 15 18:37:49 hostname dms[1176]: INFO qml: Theme: Setting desired theme - image mode: dark (dynamic)
Feb 15 18:37:49 hostname dms[1154]: INFO go: Processing theme: image /home/user/Downloads/wallpaper.jpg (dark)
Feb 15 18:37:49 hostname dms[1154]: INFO go: Building theme: image /home/user/Downloads/wallpaper.jpg (dark)
Feb 15 18:37:49 hostname dms[1154]: INFO go: Using dynamic theme from image: /home/user/Downloads/wallpaper.jpg
Feb 15 18:37:49 hostname dms[1154]: ERROR go: DMS API Error: id=1 error=matugen dry-run failed: exit status 1
Feb 15 18:37:49 hostname dms[1176]: WARN qml: Theme worker: FATAL go: Theme generation failed: server error: matugen dry-run failed: exit status 1
Feb 15 18:37:49 hostname dms[1176]: WARN qml: Theme: Matugen worker failed with exit code: 1

Screenshots/Recordings

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions