From 69eff31bb789711a49c25dfdb22061abf0393227 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Mon, 9 Nov 2020 10:51:37 -0500 Subject: [github-activity] use feature icons --- github-activity-widget/github-activity-widget.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'github-activity-widget/github-activity-widget.lua') diff --git a/github-activity-widget/github-activity-widget.lua b/github-activity-widget/github-activity-widget.lua index 4af0c13..84b5320 100644 --- a/github-activity-widget/github-activity-widget.lua +++ b/github-activity-widget/github-activity-widget.lua @@ -83,21 +83,21 @@ local function generate_action_string(event) if (event.type == "PullRequestEvent") then action_string = event.action .. ' a pull request in' link = event.pr_url - icon = 'pr.svg' + icon = 'git-pull-request.svg' elseif (event.type == "IssuesEvent") then action_string = event.action .. ' an issue in' link = event.issue_url - icon = 'issue.svg' + icon = 'alert-circle.svg' elseif (event.type == "IssueCommentEvent") then action_string = event.action == 'created' and 'commented in issue' or event.action .. ' a comment in' link = event.issue_url - icon = 'comment.svg' + icon = 'message-square.svg' elseif (event.type == "WatchEvent") then action_string = 'starred' icon = 'star.svg' elseif (event.type == "ForkEvent") then action_string = 'forked' - icon = 'fork.svg' + icon = 'git-branch.svg' elseif (event.type == "CreateEvent") then action_string = 'created' end @@ -144,7 +144,6 @@ local function worker(args) github_widget:set_icon(icon) local rows = { - { widget = wibox.widget.textbox }, layout = wibox.layout.fixed.vertical, } -- cgit v1.2.3