Skip to content

sysmon: only inherit process icons from apps - #4173

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
Conava:sysmon-launcher-icons
Nov 7, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
Conava:sysmon-launcher-icons

Conversation

@Conava

@Conava Conava commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Description

My PR #4140 made the system monitor show more logos, but I've overdone it a little. A process without a logo got its closest parent's logo, which is great for a command in a terminal, less great for everything else: Xwayland, mpris-proxy and wl-clip-persist all turned into Hyprland, and a node process in a container turned into Docker.

This makes the functionality a bit more conservative, resulting in way fewer mismatches like this.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dux-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

A process without an icon takes the one of its closest parent, which
is right for a command in a terminal. Any parent with an icon counted
though, so Xwayland, mpris-proxy and wl-clip-persist showed the
Hyprland logo and a node process in a container the Docker one.

Only parents with a desktop entry pass on their icon now, plus program
rows marked for it. dms is marked, so its qs keeps the logo.
@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 6, 2026
@bbedward
bbedward merged commit fcd277e into duxlabs-dev:master Nov 7, 2026
5 checks passed
purian23 pushed a commit that referenced this pull request Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants