5n00p4eg / dark-mode-sync-plugin

IDEA plugin for synchronizing theme with macOS's Dark Mode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS Dark Mode Sync IDEA Plugin

Build Status

Plugin for synchronizing IDEA's theme with macOS's Dark Mode. When macOS is in dark mode, plugin sets IDEA to Darcula, but when macOS is in light mode, sets IDEA theme to IntelliJ

Building

./gradlew build

Testing

./gradlew runIde

How Does It Work?

The plugin polls the macOS Dark Mode configuration by executing the following command and interpreting its output.

defaults read -g AppleInterfaceStyle

When the plugin detects that macOS is using Dark Mode, it sets the IDEA theme to "Darcula". When the plugin detects that macOS is not using Dark Mode, it sets the IDEA theme to "IntelliJ".

About

IDEA plugin for synchronizing theme with macOS's Dark Mode

License:MIT License


Languages

Language:Java 58.2%Language:Kotlin 41.8%