Open phackwer opened 9 years ago
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
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.
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?