Skip to content

Commit

Permalink
Update Accent Color Sync (#811)
Browse files Browse the repository at this point in the history
* Set *Sync with DWM* option to enabled by default, and added notice for updating regarding this option in the readme.
* Update French and Spanish translation.
  • Loading branch information
CatmanFan authored Jul 27, 2024
1 parent 7c4df7d commit 940c28b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions mods/accent-color-sync.wh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// @description Synchronises OpenGlass and Control Panel color settings
// @description:fr-FR Synchronisation des couleurs d'OpenGlass et du Panneau de configuration
// @description:es-ES Sincroniza los colores de OpenGlass y del Panel de control
// @version 1.3
// @version 1.31
// @author CatmanFan / Mr._Lechkar
// @github https://github.com/CatmanFan
// @include explorer.exe
Expand All @@ -25,7 +25,7 @@ To get this mod to function fully, perform the following steps:
* If you are updating this mod from version 1.0, it is required to disable or uninstall any other existing DWM shader software (such as regular OpenGlass or DWMBlurGlass).
2. Afterwards, go to *HKCU\SOFTWARE\Microsoft\Windows\DWM* in the registry and add any one of the three DWORD values of *og_ColorizationColorBalance*, *og_ColorizationAfterglowBalance* and *og_ColorizationBlurBalance* before applying this mod. These will be handled automatically.
You may need to try changing the accent color manually if changes do not automatically take effect.
If you are updating this mod from version 1.3, it is recommended to also enable the *Sync with DWM* option from the mod's settings, although this can have some minor bugs (see below). You may need to try changing the accent color manually if changes do not automatically take effect.
## Current known bugs
* **Sync with DWM** option: In the Control Panel, the theme preview's color icon's opacity does not always reflect the value set by the color intensity slider if it is changed while the *Sync with DWM* mod setting is enabled, unless after the theme preview is regenerated by changing the color RGB values or the desktop background.
Expand All @@ -37,11 +37,13 @@ You may need to try changing the accent color manually if changes do not automat

// ==WindhawkModSettings==
/*
- syncDWM: FALSE
- syncDWM: TRUE
$name: Sync with DWM
$name:fr-FR: Synchroniser avec DWM
$name:es-ES: Sincronizar con DWM
$description: Writes the opacity value to DWM's color and afterglow variables. This makes it so that the opacity is also written to the theme alongside the color's RGB. Otherwise, Windows automatically sets it to remain stationary at 0xc4 (196).
$description: Writes the opacity value to DWM's color and afterglow variables. This makes it so that the opacity is also written to the theme alongside the color's RGB. Otherwise, Windows automatically sets it to remain stationary at 0xc4 (196 of 255).
$description:fr-FR: Sauvegarder la valeur d'opacité aux options de DWM. Cela permet de définir également l'opacité dans le thème simultanément avec les valeurs du RVB. Sinon, Windows le définit en permanence à 0xc4 (196 sur 255).
$description:es-ES: Guarda el valor de opacidad de OpenGlass en DWM. Esto le permite guardar la opacidad del tema, simultáneamente con los valores RGB. Windows normalmente establece la opacidad siempre en 0xc4 (196 de 255).
*/
// ==/WindhawkModSettings==

Expand Down

0 comments on commit 940c28b

Please sign in to comment.