Separate System Tray Icons
Replaces the grouped Windows 11 system tray button with separate sound, Bluetooth, network, Control Center, and battery buttons.
Author: Asteski
Replaces the grouped Windows 11 system tray button with separate sound,
Bluetooth, network, Control Center, and battery buttons. The original grouped
button is hidden while the mod is active and restored when it is unloaded.

Buttons use XAML controls with font glyphs and vector artwork, keeping the
icons sharp at different display scales.
Buttons:
- Bluetooth -> Bluetooth flyout
- Network -> Network flyout
- Sound -> Sound output picker by default, or Control Center/volume mixer
- Control Center -> Control Center, Project, or a custom action
- Battery -> Power settings by default, or Control Center/custom action
When Control Center action is Open Project, its context menu shows
Display settings in place of Taskbar settings. Recommended values for
Control Center glyph in this mode are E7F4 or EBC6; the glyph remains
independently configurable.
Use Toggle buttons visibility to choose which buttons appear. Drag items in
Button order to arrange the buttons, including Battery. Removing an entry
hides that button; adding it back shows it when its visibility toggle is
enabled. Battery appears only on devices where Windows reports a battery.
In the Sound context menu, Volume percentage, below Open volume mixer,
toggles a label such as 50% beside the glyph. A checkmark appears while it
is enabled. This preference is saved and controlled through the menu, using
the same caption styling and spacing as Battery. On vertical taskbars, the
percentage appears below the glyph.
Under Sound, Constant width with volume percentage is off by default.
Enable it to reserve space for every volume value and right-align the text,
keeping the button width and the percent sign's position steady. With it off,
the button fits the current percentage text.
Sound defaults to Toggle mute for middle-click. Bluetooth, Network, and
Battery default to Custom action, preserving existing custom commands;
an empty command does nothing. Their optional built-in actions are Toggle
Bluetooth, Toggle Wi-Fi, and Toggle Energy saver, respectively.
Toggle Wi-Fi leaves Ethernet connections unchanged.
Increase chevron size, at the bottom of settings, sets the arrow to 16 px
to match the tray icons. It is off by default.
Icon padding adds horizontal or vertical space around each tray button.
Both values default to 0 and apply to all five buttons. This changes spacing
between buttons without resizing their glyphs or hover highlights. Values are
in XAML pixels (DIPs), scaled by the monitor's display scale.
Sound supports mouse-wheel volume adjustment (unmuting first).
Volume scroll step selects Windows' default step or 1, 5, or 10 percentage
points per wheel notch. Control Center has its own custom middle-click action.
Leave a custom middle-click action empty to do nothing.
Show master volume in Sound output, enabled by default, adds a master
slider and mute button above the application mixer in Windows 11's Sound
output flyout. Moving the slider unmutes the output;
external volume changes and output-device switches are reflected while open.
Do not combine this with another mod that inserts a master-volume row into
the same flyout. Close and reopen the flyout after changing this option.
Sound can show currently playing media in its tooltip and use an output-device
glyph. Muted audio uses the standard mute glyph. Bluetooth can show connected
devices and their battery percentages (when reported by Windows) in its tooltip
and change appearance when switched off. Network can show Wi-Fi signal
strength and open a custom URL for Perform speed test.
Right-click a button for its context menu, including sound output selection,
Bluetooth pairing/file transfer, network actions, and battery preferences.
Swap troubleshooting position moves troubleshooting to the bottom of
the sound, Bluetooth, and network menus, moving the bottom actions to the top.
Under Battery, Match other buttons' size without percentage uses the
standard tray-button dimensions when percentage is hidden. It defaults to
off, retaining the wider horizontal battery button. Vertical icon-only sizing
and percentage-enabled layout are unchanged.
Battery percentage display defaults to Always show. Choose Follow Windows
setting or Always hide to change the mod's display without changing Windows'
own preference. The Battery percentage context-menu item changes the Windows
preference only when clicked; Follow Windows setting reflects that choice.
Battery percentage appears beside the icon on horizontal taskbars and below
it on vertical taskbars. Use small battery icon switches between 12- and
16-pixel glyphs without changing the percentage text size.
Show leaf icon in Energy saver is enabled by default. It overlays a green
vector leaf at the battery's bottom-left instead of replacing the battery.
The outline and center line follow the taskbar's light/dark theme. While the
leaf is shown, Energy saver does not turn the battery fill yellow; charging
and low-battery colors are retained.
Partial movements from smooth-scrolling mice accumulate into full wheel notches;
horizontal scrolling does not change volume. Reach the buttons through Windows'
taskbar keyboard navigation, then use Enter or Space to activate, or Shift+F10
or the Menu key to open a context menu. Buttons expose their current tooltip
information as accessible names and use system keyboard-focus visuals.
Action formats
The custom-action prefix scheme and action-format documentation are adapted from
Ultimate Custom Tray
by Salyts, licensed under MIT.
Select Custom action for Control Center action or Battery click
action, then enter an action in that group's Custom action field. The
same formats work in Custom middle-click action fields. For Sound,
Bluetooth, Network, and Battery, select Custom action under Middle-click
action to use that field.
| Prefix |
Example |
Description |
" " |
"C:\Program Files\app.exe" |
Opens a file or folder by absolute path. |
~ |
~Downloads |
Opens a folder or file by name. |
cmd: |
cmd:control |
Runs a command through cmd.exe. |
ps: / powershell: |
ps:Start-Process notepad |
Runs through powershell.exe. |
key: / hotkey: |
key:Ctrl+Shift+Esc |
Simulates a keyboard shortcut with virtual key presses. |
web: |
web:https://windhawk.net/ |
Opens a URL in the default browser. |
ms-settings: |
ms-settings:bluetooth |
Opens a Windows Settings page. |
For shortcut actions, use Modifier+Modifier+Key.
Supported modifiers: Ctrl, Alt, Shift, Win.
Examples: key:Ctrl+Alt+D, hotkey:Win+R, key:0x7B (F12 by VK code).
Compatibility
Status changes use Windows notifications where available, with a 60-second
fallback refresh. The Wi-Fi connecting animation updates every 500 ms while
Windows reports an active connection attempt.
This version currently manages the primary taskbar; separate-monitor taskbars
are not supported by the current implementation.
The taskbar buttons run in Explorer. The optional master-volume addition
runs in ShellHost or ShellExperienceHost, depending on the Windows version.
Manual installation of the battery font is not required on supported builds.
Taskbar Styler targets
The injected buttons normally use SystemTray.OmniButton. If a fallback is
needed, the mod logs the actual control class; the button names stay the same.
| Target |
Description |
SystemTray.OmniButton#SeparateQuickSettingsXamlBluetooth |
Bluetooth button and its native template/hit target. |
SystemTray.OmniButton#SeparateQuickSettingsXamlNetwork |
Network button. |
SystemTray.OmniButton#SeparateQuickSettingsXamlSound |
Sound button, including wheel and middle-click handling. |
SystemTray.OmniButton#SeparateQuickSettingsXamlControlCenter |
Separate Control Center button; the original grouped button is always hidden. |
SystemTray.OmniButton#SeparateQuickSettingsXamlBattery |
Separate battery button, including its highlight and click handling. |
StackPanel#SeparateTrayBatteryContent |
Battery glyph and percentage layout; horizontal or vertical to match the taskbar. |
TextBlock#SeparateTrayBatteryPercentage |
Battery percentage text. |
StackPanel#SeparateTraySoundContent |
Sound glyph and volume percentage layout. |
TextBlock#SeparateTraySoundPercentage |
Volume percentage text, including the percent sign. |
Grid#SeparateTrayIconLayers |
Layered glyph host; battery has its own measured dimensions, other buttons use a 16-by-16 host. |
FontIcon#SeparateTrayIconPrimary |
Main status or output-device glyph. |
FontIcon#SeparateTrayIconUnderlay |
Theme-aware grey underlying glyph, where applicable. |
FontIcon#SeparateTrayIconOverlay |
Additional status layer, including Bluetooth's unavailable indicator and battery charge-level fill. |
Viewbox#SeparateTrayBatteryEnergySaverOverlay |
Scalable Energy saver leaf overlay. |
Path#SeparateTrayLeafBody |
Leaf shape and green fill. |
Path#SeparateTrayLeafStem |
Theme-aware center line of the leaf. |
MenuFlyoutPresenter#SeparateTrayContextMenuPresenter |
WinUI context menu presenter, named when the menu opens. |
The layer names are shared across buttons. An unqualified layer selector affects
all matching buttons. For example:
controlStyles:
- target: FontIcon#SeparateTrayIconPrimary
styles:
- FontSize=16
Hover highlights and generated templates
Highlight geometry follows a live native notification icon's rendered insets
on all taskbar edges. The mod stretches its existing template background using
those insets instead of assigning a compact/default fixed highlight height.
Insets are refreshed on hover and when the tray is rebuilt. Battery also
refreshes its layout after percentage or taskbar-position changes. If no
usable native reference is available, the existing control template supplies
layout.
The native button template contains Border#BackgroundBorder on the supported
taskbar build. This is the existing hover-highlight element. Use the visual-tree
paths in the mod logs to target it beneath a particular button. Template
intermediate elements can vary between Windows builds: Taskbar Styler's >
requires a direct parent/child relationship, so do not assume the border or
glyph host is a direct child of the button.
Styling limitations
The mod refreshes glyphs, foreground colors, visibility, overlay font sizes,
and button dimensions as state changes. Styles for those properties can be
overwritten by the next update. Stable names provide selectors, but external
stylers may not observe every dynamically created element. In particular, the
menu presenter receives its name after creation.