add debug

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

View file

@ -99,6 +99,7 @@ class AdwcustomizerApplication(Adw.Application):
self.style_manager = Adw.StyleManager.get_default()
print(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"