Compare commits

...

2 Commits

2 changed files with 9 additions and 8 deletions

View File

@ -12,14 +12,14 @@ colors = {
"purple" : ["35","39"],
"cyan" : ["36","39"],
"white" : ["37","39"],
"background_black" : ["40","39"],
"background_red" : ["41","39"],
"background_green" : ["42","39"],
"background_yellow" : ["43","39"],
"background_blue" : ["44","39"],
"background_purple" : ["45","39"],
"background_cyan" : ["46","39"],
"background_white" : ["47","39"],
"background_black" : ["40","49"],
"background_red" : ["41","49"],
"background_green" : ["42","49"],
"background_yellow" : ["43","49"],
"background_blue" : ["44","49"],
"background_purple" : ["45","49"],
"background_cyan" : ["46","49"],
"background_white" : ["47","49"],
"bright_black" : ["90","39"],
"bright_red" : ["91","39"],
"bright_green" : ["92","39"],

View File

@ -36,6 +36,7 @@ if not os.path.exists(data_home) and os.path.exists(_old_config):
cache_home = os.environ.get('XDG_CACHE_HOME') or\
os.path.join(_home,'.cache')
_CACHE_PATH = os.path.join(os.path.expanduser(cache_home),"offpunk/")
os.makedirs(_CACHE_PATH,exist_ok=True)
#Lets read current version of the cache
version_path = _CACHE_PATH + ".version"