From 0667b2d72ca21b7e65859d801faf10345da40b2e Mon Sep 17 00:00:00 2001 From: mal0 Date: Fri, 4 Oct 2024 14:38:02 -0400 Subject: [PATCH] changed google drive fonts for git repo --- rice-cook.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rice-cook.py b/rice-cook.py index e3ad307..df1d13c 100755 --- a/rice-cook.py +++ b/rice-cook.py @@ -281,12 +281,8 @@ def msic_configs(): os.chdir(os.path.join(current_dir,'misic')) - #### Fonts - # https://drive.google.com/drive/folders/1BciF4x3_K3T8p1Y17lHn_xWXnSAZpvDE - fonts_url = 'https://drive.google.com/uc?id=1jebIzgH9BLLn7Ou3xOnSiIj2unIdyXFI' - output ='fonts-c.zip' - gdown.download(fonts_url,output, quiet=False) - subprocess.run(f"unzip {output} -d {os.path.join(home,'.fonts')}",stdout=subprocess.DEVNULL ,shell=True) + subprocess.check_call('git clone https://github.com/acidburnmonkey/fonts.git', shell=True) + shutil.copytree('./fonts/', os.path.join(home,'.fonts')) subprocess.run("fc-cache -f",stdout=subprocess.DEVNULL ,shell=True) console.print("Fonts downloaded :heavy_check_mark:", style='ok')