Skip to content
TranslucentTB.io

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 .

App icons on a transparent Windows 11 taskbar, where TranslucentTB rules can set a different look for each program

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 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:

  1. If the topmost maximized window has a maximized-window rule, that rule is used.
  2. 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

  1. Open Task Manager with Ctrl + Shift + Esc.
  2. Go to the Details tab.
  3. 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?

Source: the project's configuration documentation and release notes for 2022.1 and 2023.2.

Related pages

See everything under Guides.

Build rules with the generator