Basic SteamGridDB support
This commit is contained in:
@@ -202,4 +202,38 @@ template PreferencesWindow : Adw.PreferencesWindow {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Adw.PreferencesPage sgdb_page {
|
||||
name: "sgdb";
|
||||
title: _("SteamGridDB");
|
||||
icon-name: "image-x-generic-symbolic";
|
||||
|
||||
Adw.PreferencesGroup sgdb_key_group {
|
||||
title: _("Authentication");
|
||||
description: _("An API Key is required to use SteamGridDB. You can generate one <a href=\"https://www.steamgriddb.com/profile/preferences/api\">here</a>.");
|
||||
|
||||
Adw.EntryRow sgdb_key_entry_row {
|
||||
title: _("API Key");
|
||||
}
|
||||
}
|
||||
|
||||
Adw.PreferencesGroup sgdb_behavior_group {
|
||||
title: _("Behavior");
|
||||
|
||||
Adw.ActionRow {
|
||||
title: _("Download Images on Import");
|
||||
|
||||
Switch sgdb_download_switch {
|
||||
valign: center;
|
||||
}
|
||||
}
|
||||
Adw.ActionRow {
|
||||
title: _("Prefer Over Official Images");
|
||||
|
||||
Switch sgdb_prefer_switch {
|
||||
valign: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,6 +57,15 @@
|
||||
</key>
|
||||
<key name="itch-location" type="s">
|
||||
<default>"~/.var/app/io.itch.itch/config/itch/"</default>
|
||||
</key>
|
||||
<key name="sgdb-key" type="s">
|
||||
<default>""</default>
|
||||
</key>
|
||||
<key name="sgdb-import" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
<key name="sgdb-prefer" type="b">
|
||||
<default>false</default>
|
||||
</key>
|
||||
</schema>
|
||||
<schema id="hu.kramo.Cartridge.State" path="/hu/kramo/Cartridges/State/">
|
||||
|
||||
Reference in New Issue
Block a user