Skip to content

Instantly share code, notes, and snippets.

@Zeinok
Last active April 24, 2024 12:12
Show Gist options
  • Star 93 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save Zeinok/ceaf6ff204792dde0ae31e0199d89398 to your computer and use it in GitHub Desktop.
Save Zeinok/ceaf6ff204792dde0ae31e0199d89398 to your computer and use it in GitHub Desktop.
Breeze Dark theme for Wine

Made possible with this reddit post.

Install

wine regedit wine-breeze-dark.reg

Uninstall (Reset Wine color scheme)

wine regedit wine-reset-theme.reg

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Colors]
"ActiveBorder"="49 54 58"
"ActiveTitle"="49 54 58"
"AppWorkSpace"="60 64 72"
"Background"="49 54 58"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="154 154 154"
"ButtonFace"="49 54 58"
"ButtonHilight"="119 126 140"
"ButtonLight"="60 64 72"
"ButtonShadow"="60 64 72"
"ButtonText"="219 220 222"
"GradientActiveTitle"="49 54 58"
"GradientInactiveTitle"="49 54 58"
"GrayText"="155 155 155"
"Hilight"="119 126 140"
"HilightText"="255 255 255"
"InactiveBorder"="49 54 58"
"InactiveTitle"="49 54 58"
"InactiveTitleText"="219 220 222"
"InfoText"="159 167 180"
"InfoWindow"="49 54 58"
"Menu"="49 54 58"
"MenuBar"="49 54 58"
"MenuHilight"="119 126 140"
"MenuText"="219 220 222"
"Scrollbar"="73 78 88"
"TitleText"="219 220 222"
"Window"="35 38 41"
"WindowFrame"="49 54 58"
"WindowText"="219 220 222"
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Colors]
"ActiveBorder"=-
"ActiveTitle"=-
"AppWorkSpace"=-
"Background"=-
"ButtonAlternativeFace"=-
"ButtonDkShadow"=-
"ButtonFace"=-
"ButtonHilight"=-
"ButtonLight"=-
"ButtonShadow"=-
"ButtonText"=-
"GradientActiveTitle"=-
"GradientInactiveTitle"=-
"GrayText"=-
"Hilight"=-
"HilightText"=-
"InactiveBorder"=-
"InactiveTitle"=-
"InactiveTitleText"=-
"InfoText"=-
"InfoWindow"=-
"Menu"=-
"MenuBar"=-
"MenuHilight"=-
"MenuText"=-
"Scrollbar"=-
"TitleText"=-
"Window"=-
"WindowFrame"=-
"WindowText"=-
@ojdo
Copy link

ojdo commented Mar 16, 2022

If you are here right after the wine 7.4 release (2022-03-11) and wondering why your application suddenly has become light: simply switch from the newly enabled "Light" theme back to "(No style)" in winecfg.

@parkerlreed
Copy link

@ojdo Thank you! I was already in the theme section and was wondering about the new Light style. Would be nice to have the Breeze Dark as a proper msstyle now to use with the new system.

ALMOST looks good for some .NET stuff... Heh
image

Probably setting their own colors

@poudink
Copy link

poudink commented Mar 27, 2022

About .NET: this appears to be an issue with Mono. NSMBe5, a level editor for New Super Mario Bros. which uses .NET, had very bad issues with this theme which were fixed after installing native .NET 4.8 with winetricks. I unfortunately never bothered taking a screenshot of the issues so you'll just have to take my word for it that it was really bad (half of the elements weren't being affected by the theme at all), but the after speaks for itself, it's all good now:
image
Though indeed, a proper msstyles would be very nice. Plus from what I can tell, the format allows you to do a lot that could potentially allow getting much closer to the original Breeze Dark than this simple color swap.

@githubtefo
Copy link

Looks cool!
image
Some parts of the menu bar are still white and perhaps harder to read others, but definitely nicer! Thanks!

@Megalomaniak
Copy link

This doesn't seem to do anything for me, anybody know if a .msstyle or .theme exists for this?

@parkerlreed
Copy link

@Megalomaniak You have to set the desktop integration theme to "(No theme)" for the registry values to work (As mentioned in the first comment)

Did that not work?

@Megalomaniak
Copy link

@parkerlreed That's what I had it on. Though would prefer if it added a new theme to the drop down selection. Ended up finding a msstyle for windows that was trying to mimic photoshop CC dark theme, it'll do. Still doesn't add to the list tho, but at least the colors took effect.

@Trychlik
Copy link

save file wine-breeze-dark.reg, open regedit, go to registry/import reg file
enjoy

@quantumdudem
Copy link

Is there a way to install this theme into the wine version metatrader 5 app?

@ssb22
Copy link

ssb22 commented Apr 5, 2023

You should be able to automate turning off the Light theme by setting "ThemeActive"="0" under [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager] (tested on Wine 8.0), saves an additional setup step

@dbedrenko
Copy link

This doesn't seem to do anything for me, anybody know if a .msstyle or .theme exists for this?

It didn't work for me either. The fix was to run wine regedit wine-reset-theme.reg first (i.e. run the uninstall command then the install). It looks glorious! Thank you to the creators!

@givbra
Copy link

givbra commented May 13, 2023

2023-05-13_22-54

A little modified colour settings for Winbox, more easy on the eyes:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Colors]
"ActiveBorder"="71 74 79"
"ActiveTitle"="71 74 79"
"AppWorkSpace"="45 46 50"
"Background"="71 74 79"
"ButtonAlternativeFace"="200 0 0"
"ButtonDkShadow"="154 154 154"
"ButtonFace"="71 74 79"
"ButtonHilight"="119 126 140"
"ButtonLight"="45 46 50"
"ButtonShadow"="45 46 50"
"ButtonText"="219 220 222"
"GradientActiveTitle"="71 74 79"
"GradientInactiveTitle"="71 74 79"
"GrayText"="155 155 155"
"Hilight"="119 126 140"
"HilightText"="255 255 255"
"InactiveBorder"="71 74 79"
"InactiveTitle"="71 74 79"
"InactiveTitleText"="219 220 222"
"InfoText"="159 167 180"
"InfoWindow"="71 74 79"
"Menu"="71 74 79"
"MenuBar"="71 74 79"
"MenuHilight"="119 126 140"
"MenuText"="219 220 222"
"Scrollbar"="73 78 88"
"TitleText"="219 220 222"
"Window"="45 46 50"
"WindowFrame"="71 74 79"
"WindowText"="219 220 222"

@queenbiscuit311
Copy link

Thank you so much for making this wine theme! I use it on all my prefixes and I love how it matches the rest of my DE.

@githubtefo
Copy link

Can you think of a simple bash script that may turn this on/off?

@queenbiscuit311
Copy link

Can you think of a simple bash script that may turn this on/off?

I did this and it's fairly simple. Just put the .reg files in a location where they won't be moved and made a script that just has "wine regedit [path_to_.reg]

I made scripts called "winedark" and "winelight" in my /usr/local/sbin folder that execute wine regedit and link to the reg file to apply and remove this theme respectively, so I can easily change the theme when I make new wineprefixes or need to disable it temporarily. You just need to make sure your shell session has the right wineprefix selected before using a script like that.

@queenbiscuit311
Copy link

queenbiscuit311 commented Jul 11, 2023

You can also add a registry setting to the enable and disable scripts using something someone mentioned above to automate disabling and re enabling the new light theme.

@begin-theadventure
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment