Skip to content

Instantly share code, notes, and snippets.

@AmreeshTyagi
Last active April 20, 2024 19:05
Show Gist options
  • Star 81 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save AmreeshTyagi/29220b3d55c21cf3664efa7352c0ee6e to your computer and use it in GitHub Desktop.
Save AmreeshTyagi/29220b3d55c21cf3664efa7352c0ee6e to your computer and use it in GitHub Desktop.
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.
@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

Thank you!

@oscarmyepes
Copy link

Thank you!!! 👍

@RaolBuqi
Copy link

Thank you!

@robert-meliuz
Copy link

OMG! Thank you so much! 🚀

@zen-lover
Copy link

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

Thank you so much 💯

@tpolishchuk
Copy link

Thanks a lot! 👍

@IOSDeveloperSwift
Copy link

thank you so much!!!!

@NavidMitchell
Copy link

Thanks man!

@cjromb
Copy link

cjromb commented Sep 26, 2020

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

@shaffan-kt
Copy link

Thank you

@s-jcs
Copy link

s-jcs commented Oct 12, 2020

THANK YOU!!

@ankits9999
Copy link

Thanks, it's much better now.

@c3budiman
Copy link

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

@mymborrini
Copy link

Thank you!!

Copy link

ghost commented Jan 4, 2021

Thank you so much !!

@AnaM-Ignat
Copy link

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

@computer0112
Copy link

Thanks, is very cool

@Monraz
Copy link

Monraz commented Mar 10, 2021

God bless you with 10 children

@milanzivic
Copy link

Thank you so much!

@ozzbetto
Copy link

ozzbetto commented Jun 5, 2021

Gracias loco!

@stuli-mdsol
Copy link

Thanks man.

@yossi-silberhaft
Copy link

Thank you! I was starting to loose it!

@Rohan885103
Copy link

Thank you so much, bro.✌🏽

@rickywong0221
Copy link

Me and my eyes thank you!

@MakRatanakKh
Copy link

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

@Paul2586
Copy link

Paul2586 commented Oct 30, 2023

You're a legend. I can now see. Thanks so much!

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