summaryrefslogtreecommitdiffstats
path: root/share/extensions/other/inkman/inkman/targets.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/other/inkman/inkman/targets.py')
-rw-r--r--share/extensions/other/inkman/inkman/targets.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/share/extensions/other/inkman/inkman/targets.py b/share/extensions/other/inkman/inkman/targets.py
new file mode 100644
index 0000000..e7bed7c
--- /dev/null
+++ b/share/extensions/other/inkman/inkman/targets.py
@@ -0,0 +1,20 @@
+"""
+Definition of available Inkscape target directories and their machinery
+"""
+
+from .target import ExtensionsTarget, BasicTarget
+
+TARGETS = [
+ # Website slug, Visible name, local directory, search instead of list
+ ExtensionsTarget("extension", "Extensions", "extensions", True, filters=("*.inx",)),
+ BasicTarget("template", "Templates", "templates", True, filters=("*.svg",)),
+ BasicTarget("palette", "Shared Paletts", "palettes", filters=("*.gpl",)),
+ BasicTarget("symbol", "Symbol Collections", "symbols", filters=("*.svg",)),
+ BasicTarget("keyboard", "Keyboard Shortcuts", "keys", filters=("*.xml",)),
+ # ('marker', 'Marker Collections', '', False), # No marker config
+ # ('pattern', 'Pattern Collections', '', False), # No pattern config
+ # ('', 'User Interface Themes', 'themes', False), # No website category
+ # ('', 'Paint Server', 'paint', False), # No website category
+ # ('', 'User Interfaces', 'ui', False), # No website category
+ # ('', 'Icon Sets', 'icons', False), # No website category
+]