add more debug

This commit is contained in:
0xMRTT 2022-08-11 16:24:40 +02:00
parent f996aeeacc
commit 7bf5edf685
No known key found for this signature in database
GPG key ID: AC9E06BF3DECB6FB

View file

@ -98,8 +98,9 @@ class AdwcustomizerApplication(Adw.Application):
self.reload_user_defined_presets()
self.style_manager = Adw.StyleManager.get_default()
print(dir(self.style_manager))
print(self.style_manager.get_color_scheme())
print(dir(self.style_manager.get_color_scheme()))
if self.style_manager.get_color_scheme() == Adw.ColorScheme.DARK:
self.load_preset_from_resource(
"/com/github/AdwCustomizerTeam/AdwCustomizer/presets/adwaita-dark.json"