diff options
-rw-r--r-- | github-activity-widget/github-activity-widget.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/github-activity-widget/github-activity-widget.lua b/github-activity-widget/github-activity-widget.lua index 45b9a87..b3e29bc 100644 --- a/github-activity-widget/github-activity-widget.lua +++ b/github-activity-widget/github-activity-widget.lua @@ -131,6 +131,10 @@ local github_widget = wibox.widget { local function worker(args) + if not gfs.dir_readable(CACHE_DIR) then + gfs.make_directories(CACHE_DIR) + end + local args = args or {} local icon = args.icon or ICONS_DIR .. 'github.png' |