Subir archivos a "/"
This commit is contained in:
parent
6795e47811
commit
7b56fa094c
24
Alpha.json
Normal file
24
Alpha.json
Normal file
@ -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": ""
|
||||
}
|
24
Night.json
Normal file
24
Night.json
Normal file
File diff suppressed because one or more lines are too long
24
Obsidian.json
Normal file
24
Obsidian.json
Normal file
@ -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": ""
|
||||
}
|
41
create_repo.py
Normal file
41
create_repo.py
Normal file
@ -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.")
|
36
repo.json
36
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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user