From 28da1cd78e73538427b8f67cfad2092577d6cdd1 Mon Sep 17 00:00:00 2001 From: Paul Houser Date: Mon, 24 Aug 2020 17:29:00 -0700 Subject: [PATCH] updated css retrieval method --- generate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/generate.py b/generate.py index d3f00f2..f4caa07 100755 --- a/generate.py +++ b/generate.py @@ -117,7 +117,9 @@ def gen_style(file_dict): else: theme = '../themes/' + theme + '.css' - cache_style.write("@import url('" + theme + "');\n") + copyfile(theme, home + '/.cache/StartTree/styles/colors.css') + + cache_style.write("@import url('./colors.css');\n") lines = skeleton_style.readlines() for line in lines: