Skip to content

Neovim matugen theme not regenerated when switching between light and dark mode #2758

Description

@TheMachinemann

Compositor

Niri

Distribution

Arch Linux

If Other, please specify

No response

Select your Installation Method

DankInstaller

Was this your original Installation method?

Yes

If no, specify

No response

dms doctor -vC

Click to expand ## DMS Doctor Report

System

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

Versions

  • [ok] DMS CLI: dms v1.4.6
    • /usr/bin/dms
  • [ok] Quickshell: Quickshell 0.3.0 (revision , distributed by Arch Linux)
    • /usr/bin/qs
  • [ok] DMS Shell: v1.4.6
    • /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] niri: 26.04
    • /usr/bin/niri
  • [info] Active: niri
  • [ok] Background Blur: Supported
    • Compositor supports ext-background-effect-v1

Quickshell Features

  • [ok] Polkit: Available
    • Authentication prompts
  • [ok] IdleMonitor: Available
    • Idle detection
  • [ok] IdleInhibitor: Available
    • Prevent idle/sleep
  • [ok] ShortcutInhibitor: Available
    • Allow shortcut management (niri)
  • [ok] BackgroundBlur: Available
    • Background blur API support in Quickshell

Optional Features

  • [ok] accountsservice: Available
    • User accounts
  • [ok] power-profiles-daemon: Available
    • Power profile management
  • [ok] logind: Available
    • Session management
  • [warn] cups-pk-helper: Not available (install cups-pk-helper)
    • Printer management
  • [info] I2C/DDC: No monitors detected
    • External monitor brightness control
  • [ok] qt6-imageformats: Installed (1 formats)
    • Formats: GIF (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
  • [warn] kimageformats: Not installed
    • AVIF, HEIF, JXL support
  • [ok] Terminal: kitty
  • [ok] Network: iwd + systemd-networkd
    • iwd + systemd-networkd detected. Using iwd for Wi-Fi association and networkd for IP/DHCP.
  • [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
  • [ok] fprintd: Installed
    • Fingerprint auth

Config Files

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

Services

  • [ok] dms.service: enabled, active
  • [ok] greetd: enabled

Environment

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

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

Description

When generating matugen colour scheme for neovim, the dark mode colour scheme is generated just fine.
However when switching to the light theme, the changes do not apply to the dankcolors.lua.

I have neovim selected under matugen templates, and as I said, the dark mode wallpaper works just fine.
Only the light theme doesn't seem to function.

Expected Behavior

I have separate wallpapers for light and dark mode and I would expect that the dankcolors.lua file would be regenerated both by switching themes manually and through automatic colour mode.

Steps to Reproduce

  1. set separate wallpapers for light and dark mode
  2. see theme apply in neovim
  3. go to theme and colours in the settings and toggle light mode
  4. observe no change in the theme through neovim after restarting application (it may appear to work though quitting out and relaunching nvim will show that it is still not applied)

Error Messages/Logs

No response

Screenshots/Recordings

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions