Skip to content

Config File

Dongle edited this page Mar 8, 2022 · 7 revisions

XCL Language

Config file is written in XCL Language, a new config language that I created for Mica For Everyone.

SectionType: "parameter" {
    FieldName = FieldValue
}

Section Types

  • Global: Applies to all windows. There must be exactly one instance of this type. This will be applied if no other rules are applicable.
  • Process: Applies to all windows from a specific process. Process name must be specified as parameter. Process name is program's executable file name without .exe (or any other) extension.
  • Class: Applies to all windows with a specific class name. Class name must be specified as parameter.

Field Types

There are currently three types of data that can be passed to fields.

bool

Can be True or False, or true or false. Use True to enable and False to disable an option.

TitleBarColorMode

An enumerated type that tells what should be done to color theme of window's titlebar. Value is case-sensitive.

  • Default: don't do anything
  • System: use system's color theme
  • Light: use light color theme
  • Dark: use dark color theme

BackdropType

An enumerated type that tells what should be done to backdrop of windows. Value is case-sensitive.

  • Default: don't do anything
  • None: disable backdrop, if app already has backdrop.
  • Mica: use Mica backdrop, a Windows 11-style tinted and blurred wallpaper.
  • Acrylic: use Acrylic backdrop, a Windows 10-style translucent blur.
  • Tabbed: use Tabbed, a new backdrop introduced in Windows 11 build 22523 that's basically blurred wallpaper.

Fields

TitleBarColor

  • Type: TitleBarColorMode
  • Requires Windows 10 build 19041 or newer.
  • It sets color theme of titlebar of window.

BackdropPreference

  • Type: BackdropType
  • Requires Windows 11 build 22000 or newer.
  • It determines the type of backdrop to be applied to window.
  • For Mica you need at least Windows 11 build 22000 and for Acrylic and Tabbed you need at least Windows 11 build 22523.
  • This option doesn't work in any Windows 11 builds in the 22494.xxx - 22518.xxx range.

ExtendFrameIntoClientArea/ExtendFrameToClientArea

  • Name change: ExtendFrameIntoClientArea is the new name for ExtendFrameToClientArea for version 0.1.0.0 Third Experimental Release and upwards.
  • Type: bool
  • If its value is true then it calls DwmExtendFrameIntoClientArea. In some windows the backdrop effect is rendered on the window backgrounds. However, on most windows, this setting will do nothing or break them.
  • This method is introduced with Aero so it works on all versions of Windows 10 and Windows 11.
  • Requires application restarts to undo.

EnableBlurBehind

  • Note: It is not recommended to turn on this option on Windows 11 as it will cause flashes and lags while moving and resizing windows.
  • Type: bool
  • Requires Mica For Everyone version 0.1.0.1 Beta or newer
  • If its value is true then it uses some undocumented methods to make window translucent and blurred.
  • Requires application restarts to undo.

Clone this wiki locally