def get_cache_path(wallpaper, backend=None): """get a colorscheme cache path using a wallpaper name""" if not backend: backend = settings.get("backend", "wal") filepath = join(WALL_DIR, wallpaper) filename = cache_fname(filepath, backend, False, WPG_DIR) return join(*filename)
def get_cache_path(wallpaper, backend=None): if not backend: backend = config.wpgtk.get('backend', 'wal') filepath = join(config.WALL_DIR, wallpaper) cache_filename = cache_fname(filepath, backend, False, config.WALL_DIR) return join(*cache_filename)