From 7b56fa094c0edd30aa7ca7b0c3371737b6536bdc Mon Sep 17 00:00:00 2001 From: nix Date: Tue, 17 Dec 2024 07:13:31 +0000 Subject: [PATCH] Subir archivos a "/" --- Alpha.json | 24 ++++++++++++++++++++++++ Night.json | 24 ++++++++++++++++++++++++ Obsidian.json | 24 ++++++++++++++++++++++++ create_repo.py | 41 +++++++++++++++++++++++++++++++++++++++++ repo.json | 36 ++++++++++++++++++++++++++++++++---- 5 files changed, 145 insertions(+), 4 deletions(-) create mode 100644 Alpha.json create mode 100644 Night.json create mode 100644 Obsidian.json create mode 100644 create_repo.py diff --git a/Alpha.json b/Alpha.json new file mode 100644 index 0000000..6c7efcb --- /dev/null +++ b/Alpha.json @@ -0,0 +1,24 @@ +{ + "manifest": { + "name": "Alpha", + "description": "The theme of the picodulce launcher alpha", + "author": "Nixietab", + "license": "MIT" + }, + "palette": { + "Window": "#31363b", + "WindowText": "#ffffff", + "Base": "#191919", + "AlternateBase": "#31363b", + "ToolTipBase": "#ffffff", + "ToolTipText": "#ffffff", + "Text": "#ffffff", + "Button": "#31363b", + "ButtonText": "#ffffff", + "BrightText": "#ff0000", + "Link": "#2a82da", + "Highlight": "#2a82da", + "HighlightedText": "#ffffff" + }, + "background_image_base64": "" +} diff --git a/Night.json b/Night.json new file mode 100644 index 0000000..3c63a7e --- /dev/null +++ b/Night.json @@ -0,0 +1,24 @@ +{ + "manifest": { + "name": "Dark Night", + "description": "A calming, dark theme inspired by a starry night sky", + "author": "Nixietab", + "license": "MIT" + }, + "palette": { + "Window": "#1a1c2c", + "WindowText": "#d0d0d0", + "Base": "#111a26", + "AlternateBase": "#1a1c2c", + "ToolTipBase": "#2e3341", + "ToolTipText": "#a0b0c1", + "Text": "#d0d0d0", + "Button": "#2b3650", + "ButtonText": "#ffffff", + "BrightText": "#a0d0ff", + "Link": "#56c1e1", + "Highlight": "#3c5278", + "HighlightedText": "#ffffff" + }, + "background_image_base64": "iVBORw0KGgoAAAANSUhEUgAAAZAAAAFAC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q2AnS5Xh9wN9R5m1pUc7dFE71Tr22Lv+4USHnXI3VCvJTx2qaBTKo+5etIPUYHARPRMGIbpJ34Ur0Bq60lEGgOknNpn6gkPhuHf0JjqIT9XeKzLCRUIsFUPvYSISi/CFCAAJNFE5xtDh8A+VCAAJFGBAJBEgACQRIAAkESAAJBEgABhnFxel74ElpiFBUASFQjftL7BIpCXCgSAJCoQAJIIEL5poUHpNEmYT5cBcnt/V/oSqtTCedAldyaNqIWXBsrJGiBT34y5Hvy2pf7e+Htb/aR9Lbw0UI4mOmGVPgsBoji5vJ7kZaHLISzWi1Z5CA/YzVSVpgoEgCQqkAaYeRTfuvOmoXYqEJqiLwLzUYHQlLnCw7YvoAIBIJEKpGHG1R+mgoDDCZA9RVrF/vuvv5S+hGRXi8Vkf/YYHkIEDmMIiy69+vxlePf8WenLgNAECABJDGEBkESAAJBEgEDH5pipZ6eEdgmQYOb8MpbeXLH0z+/BHDP17AyQJsL9r4lOc64Wi+HjzU3py4DmJVUg41qISGsiohsrj9VPvjeuH5lyHQkPc1/2JbkCub2/c7IfVVKB9MPmmWUlVyAXZ+fNVCCR3poiXWspwqMfwqOs/wc86O8KmqqKjwAAAABJRU5ErkJggg==" +} \ No newline at end of file diff --git a/Obsidian.json b/Obsidian.json new file mode 100644 index 0000000..9e894bd --- /dev/null +++ b/Obsidian.json @@ -0,0 +1,24 @@ +{ + "manifest": { + "name": "Obsidian", + "description": "A dark theme with inspired by minecraft obsidian", + "author": "Nixietab", + "license": "MIT" + }, + "palette": { + "Window": "#1c1c1c", + "WindowText": "#ffffff", + "Base": "#1c1c1c", + "AlternateBase": "#1c1c1c", + "ToolTipBase": "#1c1c1c", + "ToolTipText": "#ffffff", + "Text": "#ffffff", + "Button": "#1c1c1c", + "ButtonText": "#ffffff", + "BrightText": "#ff0000", + "Link": "#6a0dad", + "Highlight": "#6200EE", + "HighlightedText": "#ffffff" + }, + "background_image_base64": "" +} diff --git a/create_repo.py b/create_repo.py new file mode 100644 index 0000000..966b68f --- /dev/null +++ b/create_repo.py @@ -0,0 +1,41 @@ +import os +import json + +# Function to process each JSON file and extract the manifest values +def extract_theme_info(filename): + with open(filename, 'r', encoding='utf-8') as file: + data = json.load(file) + if 'manifest' in data: + manifest = data['manifest'] + return { + "name": manifest.get("name", ""), + "description": manifest.get("description", ""), + "author": manifest.get("author", ""), + "license": manifest.get("license", ""), + "link": f"https://git.lupin.com.ar/nix/picodulce-themes/raw/branch/main/{filename}" + } + return None + +# List to store theme data +themes = [] + +# Loop through all files in the current directory +for filename in os.listdir('.'): + if filename.endswith('.json'): + theme_info = extract_theme_info(filename) + if theme_info: + themes.append(theme_info) + +# Sort the themes list alphabetically by the 'name' key +themes.sort(key=lambda theme: theme['name']) + +# Create the repo.json structure +repo_data = { + "themes": themes +} + +# Write to repo.json +with open('repo.json', 'w', encoding='utf-8') as outfile: + json.dump(repo_data, outfile, indent=2) + +print("repo.json has been generated and sorted alphabetically.") diff --git a/repo.json b/repo.json index 615eaa8..366f573 100644 --- a/repo.json +++ b/repo.json @@ -1,18 +1,32 @@ { "themes": [ + { + "name": "Alpha", + "description": "The theme of the picodulce launcher alpha", + "author": "Nixietab", + "license": "MIT", + "link": "https://git.lupin.com.ar/nix/picodulce-themes/raw/branch/main/Alpha.json" + }, { "name": "Dark", - "description": "The default picodulce theme", + "description": "The default picodulce launcher theme", "author": "Nixietab", "license": "MIT", "link": "https://git.lupin.com.ar/nix/picodulce-themes/raw/branch/main/Dark.json" }, { - "name": "Persona Skull", - "description": "A theme and background of Skull from Persona 5.", + "name": "Dark Night", + "description": "A calming, dark theme inspired by a starry night sky", "author": "Nixietab", "license": "MIT", - "link": "https://git.lupin.com.ar/nix/picodulce-themes/raw/branch/main/PersonaSkull.json" + "link": "https://git.lupin.com.ar/nix/picodulce-themes/raw/branch/main/Night.json" + }, + { + "name": "Obsidian", + "description": "A dark theme with inspired by minecraft obsidian", + "author": "Nixietab", + "license": "MIT", + "link": "https://git.lupin.com.ar/nix/picodulce-themes/raw/branch/main/Obsidian.json" }, { "name": "Persona Futaba", @@ -27,6 +41,20 @@ "author": "Nixietab", "license": "MIT", "link": "https://git.lupin.com.ar/nix/picodulce-themes/raw/branch/main/PersonaJoker.json" + }, + { + "name": "Persona Skull", + "description": "A theme and background of Skull from Persona 5.", + "author": "Nixietab", + "license": "MIT", + "link": "https://git.lupin.com.ar/nix/picodulce-themes/raw/branch/main/PersonaSkull.json" + }, + { + "name": "Strawberry", + "description": "A soft strawberry-inspired theme", + "author": "Nixietab", + "license": "MIT", + "link": "https://git.lupin.com.ar/nix/picodulce-themes/raw/branch/main/Strawberry.json" } ] } \ No newline at end of file