mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-28 22:47:54 +00:00
Merge branch 'ArtyIF:main' into main
This commit is contained in:
commit
1bc8f99e99
1 changed files with 4 additions and 0 deletions
|
@ -80,6 +80,10 @@ class AdwcustomizerApplication(Adw.Application):
|
|||
|
||||
win.content.add(pref_group)
|
||||
|
||||
dir = os.path.join(os.environ['XDG_CONFIG_HOME'],"adwcustomizer","presets")
|
||||
if not os.path.exists(dir):
|
||||
os.makedirs(dir)
|
||||
|
||||
self.load_preset_from_resource('/com/github/ArtyIF/AdwCustomizer/presets/adwaita.json')
|
||||
|
||||
self.create_stateful_action("load_preset", GLib.VariantType.new('s'), GLib.Variant('s', 'adwaita'), self.load_preset_action)
|
||||
|
|
Loading…
Reference in a new issue