Sublime Forum

Detect color scheme change

#1

Does anyone know if there’s a way to detect when an option from “Preferences->Color Scheme” is chosen?

0 Likes

#2

You can get the current color_scheme value (loading the user settings) and use the post_window_command event listener to verify if the value of color_scheme was changed everytime the set_user_setting command is called.

0 Likes