TranslucentTB rules: a different taskbar per app
TranslucentTB rules let one program change the taskbar's look while it is maximized or in focus. A video player can make the taskbar black. A code editor can make it match its own background.
Rules were added in version 2022.1 and exist only in the config file.
Build rules with the generator
The generator writes the rule block for you.
Checked against TranslucentTB 2026.2. Last updated .

Where rules go
Rules sit inside visible_window_appearance or maximized_window_appearance, in a rules object. There are three ways to match a window:
process_name: the program's file name, such aschrome.exewindow_title: the exact title bar textwindow_class: the window class, for precise matching
Process name is the one to use almost every time.
Example: black taskbar when VLC is maximized
"maximized_window_appearance": {
"enabled": true,
"accent": "acrylic",
"color": "#10101099",
"rules": {
"process_name": {
"vlc.exe": {
"accent": "opaque",
"color": "#000000FF",
"show_line": false
}
}
}
}
Every other maximized window gets acrylic. VLC gets solid black.
Which rule wins
The project's documentation gives this order:
- If the topmost maximized window has a maximized-window rule, that rule is used.
- If no window is maximized, the app looks for a visible-window rule for the window in the foreground and applies it to the monitor that window is on.
So a maximized VS Code with a rule beats a small Discord window in front of it. Minimize VS Code and the Discord rule takes over.
A separate look when the app is not in focus
Since version 2023.2 a maximized-window rule can carry an inactive block, used while the program is maximized but another window has focus:
"notepad.exe": {
"accent": "blur",
"color": "#FF000080",
"inactive": {
"accent": "clear",
"color": "#00000000"
}
}
The documentation notes that inactive has no effect on visible-window rules, because those only ever apply to the foreground window.
Find a program's process name
- Open Task Manager with Ctrl + Shift + Esc.
- Go to the Details tab.
- The Name column is the process name. Copy it exactly, with
.exe.
For window classes the documentation suggests Spy++ or the Window Spy tool that comes with AutoHotkey.
Ignore a window completely
Some windows are technically maximized or visible when they should not count: overlays, widgets, a wallpaper engine. List them under ignored_windows and TranslucentTB behaves as if they were not there.
"ignored_windows": {
"window_class": [],
"window_title": [],
"process_name": ["overlay.exe"]
}
Rule not doing anything?
- The parent state must have
"enabled": true. - The process name must match exactly, including
.exe. - If a Store app never matches by process name, try
window_title. Many Store app windows are hosted byApplicationFrameHost.exe. - Check the JSON for a missing comma. The app shows an error if the file does not parse.
Source: the project's configuration documentation and release notes for 2022.1 and 2023.2.
Related pages
- Config file (settings.json)Where settings.json is, how to edit it and every key it accepts.
- Hide the tray iconThe hide_tray option, the Windows-only alternative and the way back.
- TranslucentTB settings explainedWhat every entry in the tray menu does, including Advanced.
- Settings not saving or resettingChanges lost after a restart, or "failed to save configuration".
- How to use TranslucentTBFrom the welcome window to a finished taskbar, in five steps.
- Tips and tricksTwelve small things that make the result look and work better.
See everything under Guides.