🏗 Cursor Theme build

This commit is contained in:
KaizIqbal 2020-07-28 17:02:27 +05:30
parent cb89f03582
commit bc6e47f993

View file

@ -1,9 +1,12 @@
import json import json
import os import shutil
from clickgen import build_cursor_theme from clickgen import build_cursor_theme
sizes = [24, 28] sizes = [24]
with open('./hotspots.json') as hotspot_file:
file_data = json.loads(hotspot_file.read()) # Building Cursor Theme
hotspots = file_data["hotspots"] with open('./hotspots.json', 'r') as hotspot_file:
print(hotspots) config = json.loads(hotspot_file.read())
build_cursor_theme(name="macOS Big Sur", image_dir="./bitmaps",
cursor_sizes=sizes, out_path="out", archive=False, delay=30)