DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Tray and notifications do not reflect dconf's icon-theme changes at runtime

Open blurgyy opened this issue 3 months ago • 3 comments

Compositor

  • [x] niri
  • [ ] Hyprland
  • [ ] Other (specify)

Description

I have darkman running dconf write /org/gnome/desktop/interface/icon-theme "'Flat-Remix-Yellow-Dark'" or dconf write /org/gnome/desktop/interface/icon-theme "'Flat-Remix-Yellow-Light'" along with other things. DankMaterialShell's tray module does not reflect it unless the shell is restarted.

Expected Behavior

It would be nice if tray icons and notification icons can reflect the change to the icon-theme in dconf without a restart of quickshell.

It is also good if DMS can maintain the icon theme by itself (i.e., use it as a transient variable like isLightMode), and expose an IPC endpoint, like the light/dark mode switch.

Steps to Reproduce

  1. Launch DMS
  2. Look at the tray module's icons
  3. Run `dconf write /org/gnome/desktop/interface/icon-theme "'Flat-Remix-Yellow-Dark'"`` with whatever other icon theme
  4. See that the tray icons still use the previous icon theme
  5. Restart quickshell
  6. See that the tray icons are using the new icon theme

Screenshots/Recordings

In light mode, using Dark icon theme, icons become unrecognizable:

Image

In dark mode, using Dark icon theme, icons are good:

Image

In light mode, using Light icon theme, icons are also good:

Image

blurgyy avatar Oct 03 '25 11:10 blurgyy

There has been work done here, feel free to reopen if it's still an issue.

Purian23 avatar Nov 07 '25 22:11 Purian23

Hey @Purian23, thanks for the update, but I don't think the tray icons are responsive on latest release (v0.4.1). I still get same result as in original post when changing icon-theme through dconf, and must restart dms completely to load the new tray icons.

I launch dms with dms run.

blurgyy avatar Nov 08 '25 04:11 blurgyy

I couldn't figure it out, QT at least just does not reload the pixmaps no matter what once they've been loaded. There might be something I don't know about though

bbedward avatar Nov 08 '25 05:11 bbedward