/XBar

A tool to change windows 10 taskbar appearance with per-app rules.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Archived!!

As of 4th of Feb 2022, Rules has been added to TranslucentTB in PR#513 and this project has been archived for good. TranslucentTB was the reason I made this project in the first place and I am glad I contributed it the feature I needed back to it.


XBar

A tool to change windows 10 taskbar appearance with per-app rules.

Motivation

Although TranslucentTB is a great project, it doesn't provide per-app taskbar color so I decided to make XBar to provide per-app rules which you can configure in the config file located at %AppData%/XBar.

Having rules makes it possible to have seamless integration between the taskbar and the titlebar of an app if you want.

Screenshots

Given this config :

{
    "general": {
        // whether to run the app at windows startup
        "runAtStartup": true,
        // whether to show or hide the tray icon
        "showTrayIcon": true
    },
    "maximized": {
        // can be one of "opaque", "transparent", "fluent", "normal", "blur"
        "accentState": "opaque",
        // can be 3-digit hex color like "#fff" or 6-digit like "#ffffff"
        // or 8-digit that contiains alpha value like "#BFffffff"
        "color": "#1f1f1f",
        "rules": {
            // the rules are basically key value pair
            // where the key is the exeName
            // and the value is the color followed by a slash followed by accent state, ie "color/accentState"
            "discord.exe": "#202225/opaque",
            "vivaldi.exe": "#14151B/opaque",
            "firefox.exe": "#202340/opaque"
        }
    },
    "regular": {
        "accentState": "transparent",
        "color": "#00000000",
        "rules": {}
    }
}

Desktop desktop1 desktop2 Apps app1 app2 app3

TODO :

  • Detect Areo Peek
  • Detect Start Menu
  • Detect Task View
  • Contribute back to TranslucentTB

Contributing or Building from source.

See the CONTRIBUTING.md .

Thanks

  • TranslucentTB - Great project, XBar wouldn't be possible without it.

License

Licensed under the GPLv3 License. Please see the LICENSE.md file for more.