tray: leave SNI IconName empty so hosts show the tinted bolt #1

Merged
Fifthdread merged 1 commit from Ramzal/rog-z13-power-management:tray-sni-icon-pixmap into main 2026-08-18 12:40:48 -04:00
Collaborator

Summary

StatusNotifier hosts (Omarchy's bar, waybar, and most other SNI trays) prefer IconName over IconPixmap. The service advertised preferences-system-power, so those hosts rendered the theme's yellow power glyph and ignored the QPainter bolt that is already tinted per profile.

Leave IconName empty. Hosts then use IconPixmap, and the tray icon changes color with the active mode (performance / balanced / silent / max / lowpower).

KDE Plasma still uses the classic QSystemTrayIcon path and is unchanged. notify-send still uses -i preferences-system-power for notification popups only.

Tested

  • Omarchy / Hyprland SNI tray: icon is the painted bolt and follows MODE_COLORS
  • Before: always the theme yellow power icon, regardless of mode

Docs

  • README: Hyprland / Omarchy section + tray bullet
  • CONTEXT.md: tray icon note
## Summary StatusNotifier hosts (Omarchy's bar, waybar, and most other SNI trays) prefer `IconName` over `IconPixmap`. The service advertised `preferences-system-power`, so those hosts rendered the theme's yellow power glyph and ignored the QPainter bolt that is already tinted per profile. Leave `IconName` empty. Hosts then use `IconPixmap`, and the tray icon changes color with the active mode (performance / balanced / silent / max / lowpower). KDE Plasma still uses the classic `QSystemTrayIcon` path and is unchanged. `notify-send` still uses `-i preferences-system-power` for notification popups only. ## Tested - Omarchy / Hyprland SNI tray: icon is the painted bolt and follows `MODE_COLORS` - Before: always the theme yellow power icon, regardless of mode ## Docs - README: Hyprland / Omarchy section + tray bullet - CONTEXT.md: tray icon note
SNI hosts prefer IconName over IconPixmap. Advertising
preferences-system-power made Omarchy/waybar render a fixed yellow
theme glyph and ignore make_pixmap() mode colors.
Fifthdread deleted branch tray-sni-icon-pixmap 2026-08-18 12:40:49 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Fifthdread/rog-z13-power-management!1
No description provided.