Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Exclude MySQL Workbench from dark theme with mojave Mac dark theme
#!/bin/bash
defaults write com.oracle.workbench.MySQLWorkbench NSRequiresAquaSystemAppearance -bool yes
echo "Successfully patched!"
echo "Now restart MySQL Workbench to see the Workbench in light theme."
#Restart MySQL Workbench after executing this.
@DalfDev
Copy link

DalfDev commented May 4, 2020

You saved my eyes

@mytaec
Copy link

mytaec commented May 13, 2020

Thank you very much!!!

@drlorenesi
Copy link

drlorenesi commented May 24, 2020

My hat's off to you sir!

In my case I modified your code to run in zsh (default shell for MacOS 10.15)

#!/bin/zsh
defaults write com.oracle.workbench.MySQLWorkbench NSRequiresAquaSystemAppearance -bool yes
echo "Successfully patched!"
echo "Now restart MySQL Workbench to see the Workbench in light theme."
#Open Terminal, type in sh /path/to/file and press enter.
#Restart MySQL Workbench after executing this.

@mingcz0301
Copy link

mingcz0301 commented Jun 20, 2020

Thank you!

@oscarmyepes
Copy link

oscarmyepes commented Jun 23, 2020

Thank you!!! 👍

@RaolBuqi
Copy link

RaolBuqi commented Jul 26, 2020

Thank you!

@robert-meliuz
Copy link

robert-meliuz commented Aug 4, 2020

OMG! Thank you so much! 🚀

@zen-lover
Copy link

zen-lover commented Aug 13, 2020

Thank you. 🙏
Now how can i convert it to dark theme?

@zen-lover
Copy link

zen-lover commented Aug 13, 2020

Thank you. 🙏
Now how can i convert it to dark theme?

Oh i find it...
replace yes with no.

@seansabour
Copy link

seansabour commented Sep 14, 2020

Thank you so much 💯

@tpolishchuk
Copy link

tpolishchuk commented Sep 16, 2020

Thanks a lot! 👍

@IOSDeveloperSwift
Copy link

IOSDeveloperSwift commented Sep 18, 2020

thank you so much!!!!

@NavidMitchell
Copy link

NavidMitchell commented Sep 23, 2020

Thanks man!

@cjromb
Copy link

cjromb commented Sep 26, 2020

Thank you thank you!!! I can seeeee again!

@shaffan-kt
Copy link

shaffan-kt commented Sep 30, 2020

Thank you

@s-jcs
Copy link

s-jcs commented Oct 12, 2020

THANK YOU!!

@ankits9999
Copy link

ankits9999 commented Oct 14, 2020

Thanks, it's much better now.

@c3budiman
Copy link

c3budiman commented Oct 19, 2020

im suprise, on how many people needing this hahaha. thanks man👌

@mymborrini
Copy link

mymborrini commented Nov 13, 2020

Thank you!!

Copy link

ghost commented Jan 4, 2021

Thank you so much !!

@AnaM-Ignat
Copy link

AnaM-Ignat commented Jan 25, 2021

Thank you so much for this simple and efficient solution!!!

@computer0112
Copy link

computer0112 commented Feb 8, 2021

Thanks, is very cool

@Monraz
Copy link

Monraz commented Mar 10, 2021

God bless you with 10 children

@milanzivic
Copy link

milanzivic commented May 24, 2021

Thank you so much!

@ozzbetto
Copy link

ozzbetto commented Jun 5, 2021

Gracias loco!

@stuli-mdsol
Copy link

stuli-mdsol commented Jul 5, 2021

Thanks man.

@yossi-silberhaft
Copy link

yossi-silberhaft commented Jul 29, 2021

Thank you! I was starting to loose it!

@Rohan885103
Copy link

Rohan885103 commented Nov 21, 2021

Thank you so much, bro.✌🏽

@rickywong0221
Copy link

rickywong0221 commented Jan 10, 2022

Me and my eyes thank you!

@MakRatanakKh
Copy link

MakRatanakKh commented Jan 25, 2022

My eye almost explode with those dark world. lol
This helps so much.
Thank you.

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