GTKDarkThemeVariantSetter icon indicating copy to clipboard operation
GTKDarkThemeVariantSetter copied to clipboard

For Mac

Open phackwer opened this issue 10 years ago • 2 comments

I know your code is for Xorg only. But, would it be possible to create same thing for Mac?

I found these discussions and sample code for doing such a thing, but I don't know how to bing pythin code to the cocoa framework of Mac.

https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/WinPanel/Tasks/SettingWindowAppearance.html

http://stackoverflow.com/questions/3044303/changing-color-of-the-nswindow-titlebar

I just wanted to discuss the idea with you. Not the implementation itself. I'm not a python developer, just PHP, C, C++, Java and .Net. :-/ Any thoughts?

phackwer avatar Feb 12 '15 03:02 phackwer

BTW:

https://gist.github.com/phackwer/2bd92058a7dc8d68a35f

I made a mini how to that made Sublime a lot more confortable to use, and also created a new theme based on Spacegray that I think you may like it

https://github.com/phackwer/spacegray

phackwer avatar Feb 12 '15 03:02 phackwer

The basic problem is that features such as "dark themes" are intended to be enabled by the application that creates the window, in which case passing a simple flag is enough. Sublime Text does not allow interception of the window creation process, but it turns out there is a way to hack this from outside using X.org properties. I doubt that such a possibility exists on Cocoa.

p-e-w avatar Mar 02 '15 17:03 p-e-w