[Github-comments] [geany/geany-osx] Dark / light mode Macos (#22)

JanAxelssonTest notifications at xxxxx
Wed Feb 3 11:29:02 UTC 2021


The solution https://github.com/geany/geany-osx/issues/22#issuecomment-772130658 works from command line
`export GTK_THEME=Mojave-light-solid:dark; open -a geany`

**_BUT_**, it does not work in normal Mac workflow.  That is, double-clicking a file which opens with Geany, makes light mode.  Also starting Geany from the dock defaults to light mode

There is a `settings.ini` in the Macos bundle. Adding the following allows for dark-mode works:
`gtk-application-prefer-dark-theme=true`

I don't think gsettings exist for Macos.

**_For the average user_**, I think the best solution would be to keep Macos bundle intact. To reiterate: now two bundle-based alternatives exists (`gtk-application-prefer-dark-theme=true`, or changing `gtk-dark.css` file names as in original post https://github.com/geany/geany-osx/issues/22#issue-799806336). At least theoretically, maybe one of these could be jacked into to allow dark-mode setting from inside Geany menus?

Willing to test-drive if you don't have a Mac available

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-osx/issues/22#issuecomment-772439345
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210203/5ef75a27/attachment.htm>


More information about the Github-comments mailing list