{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/aanatoly/fbpanel/pulls/20","id":53144061,"html_url":"https://github.com/aanatoly/fbpanel/pull/20","diff_url":"https://github.com/aanatoly/fbpanel/pull/20.diff","patch_url":"https://github.com/aanatoly/fbpanel/pull/20.patch","issue_url":"https://api.github.com/repos/aanatoly/fbpanel/issues/20","number":20,"state":"open","locked":false,"title":"enable pango markup interpretation by genmon plugin","user":{"login":"jberkenbilt","id":997128,"avatar_url":"https://avatars.githubusercontent.com/u/997128?v=3","gravatar_id":"","url":"https://api.github.com/users/jberkenbilt","html_url":"https://github.com/jberkenbilt","followers_url":"https://api.github.com/users/jberkenbilt/followers","following_url":"https://api.github.com/users/jberkenbilt/following{/other_user}","gists_url":"https://api.github.com/users/jberkenbilt/gists{/gist_id}","starred_url":"https://api.github.com/users/jberkenbilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jberkenbilt/subscriptions","organizations_url":"https://api.github.com/users/jberkenbilt/orgs","repos_url":"https://api.github.com/users/jberkenbilt/repos","events_url":"https://api.github.com/users/jberkenbilt/events{/privacy}","received_events_url":"https://api.github.com/users/jberkenbilt/received_events","type":"User","site_admin":false},"body":"[This is identical to #19 except against develop.]\r\n\r\nSometime about five years ago, I coded a small patch to the genmon plugin to allow pango-style font markup to be rendered. I use this for a little monitor that I have to enable it to color certain text and to display in a fixed-width font.\r\n\r\nThis image:\r\n\r\n![genmon-pango](https://cloud.githubusercontent.com/assets/997128/11666427/7231d4a2-9dba-11e5-9676-90c7b8f7c1e8.png)\r\n\r\nis generated by this text: `<tt><span size='larger' foreground='red'>● </span><span foreground='red'>A</span> <span foreground='red'>Q</span> <span foreground='#266522'>v</span> <span foreground='#266522'>/vsm</span><span size='larger' foreground='red'> ●</span></tt>`\r\n\r\nThe patch adds the `AllowPangoMarkup` configuration to enable this. I have the following stanza in `~/.config/fbpanel/default`:\r\n\r\n```\r\nPlugin {\r\n    type = genmon\r\n    config {\r\n        Command = get_qbiff_output\r\n\tAllowPangoMarkup = 1\r\n\tPollingTime = 1\r\n\tMaxTextLength = 500\r\n    }\r\n}\r\n```\r\n\r\nSee the commit comment for additional notes.\r\n\r\nI've been using this enhancement for about 5 years without any trouble.\r\n\r\nBy the way, I love fbpanel. It fits perfectly with my minimalistic desktop environment. I use it with openbox.\r\n\r\nI previously submitted this as https://sourceforge.net/tracker/?func=detail&aid=3131882&group_id=66031&atid=513127\r\n\r\nSee also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640356\r\n\r\nI hope you will consider accepting this enhancement.","created_at":"2015-12-09T16:38:38Z","updated_at":"2015-12-09T16:38:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aanatoly/fbpanel/pulls/20/commits","review_comments_url":"https://api.github.com/repos/aanatoly/fbpanel/pulls/20/comments","review_comment_url":"https://api.github.com/repos/aanatoly/fbpanel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aanatoly/fbpanel/issues/20/comments","statuses_url":"https://api.github.com/repos/aanatoly/fbpanel/statuses/6fb3b26bcc7ce34e76cce4591157e281a6a95019","head":{"label":"jberkenbilt:genmon-pango","ref":"genmon-pango","sha":"6fb3b26bcc7ce34e76cce4591157e281a6a95019","user":{"login":"jberkenbilt","id":997128,"avatar_url":"https://avatars.githubusercontent.com/u/997128?v=3","gravatar_id":"","url":"https://api.github.com/users/jberkenbilt","html_url":"https://github.com/jberkenbilt","followers_url":"https://api.github.com/users/jberkenbilt/followers","following_url":"https://api.github.com/users/jberkenbilt/following{/other_user}","gists_url":"https://api.github.com/users/jberkenbilt/gists{/gist_id}","starred_url":"https://api.github.com/users/jberkenbilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jberkenbilt/subscriptions","organizations_url":"https://api.github.com/users/jberkenbilt/orgs","repos_url":"https://api.github.com/users/jberkenbilt/repos","events_url":"https://api.github.com/users/jberkenbilt/events{/privacy}","received_events_url":"https://api.github.com/users/jberkenbilt/received_events","type":"User","site_admin":false},"repo":{"id":47645309,"name":"fbpanel","full_name":"jberkenbilt/fbpanel","owner":{"login":"jberkenbilt","id":997128,"avatar_url":"https://avatars.githubusercontent.com/u/997128?v=3","gravatar_id":"","url":"https://api.github.com/users/jberkenbilt","html_url":"https://github.com/jberkenbilt","followers_url":"https://api.github.com/users/jberkenbilt/followers","following_url":"https://api.github.com/users/jberkenbilt/following{/other_user}","gists_url":"https://api.github.com/users/jberkenbilt/gists{/gist_id}","starred_url":"https://api.github.com/users/jberkenbilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jberkenbilt/subscriptions","organizations_url":"https://api.github.com/users/jberkenbilt/orgs","repos_url":"https://api.github.com/users/jberkenbilt/repos","events_url":"https://api.github.com/users/jberkenbilt/events{/privacy}","received_events_url":"https://api.github.com/users/jberkenbilt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jberkenbilt/fbpanel","description":"lightweight X11 desktop panel","fork":true,"url":"https://api.github.com/repos/jberkenbilt/fbpanel","forks_url":"https://api.github.com/repos/jberkenbilt/fbpanel/forks","keys_url":"https://api.github.com/repos/jberkenbilt/fbpanel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jberkenbilt/fbpanel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jberkenbilt/fbpanel/teams","hooks_url":"https://api.github.com/repos/jberkenbilt/fbpanel/hooks","issue_events_url":"https://api.github.com/repos/jberkenbilt/fbpanel/issues/events{/number}","events_url":"https://api.github.com/repos/jberkenbilt/fbpanel/events","assignees_url":"https://api.github.com/repos/jberkenbilt/fbpanel/assignees{/user}","branches_url":"https://api.github.com/repos/jberkenbilt/fbpanel/branches{/branch}","tags_url":"https://api.github.com/repos/jberkenbilt/fbpanel/tags","blobs_url":"https://api.github.com/repos/jberkenbilt/fbpanel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jberkenbilt/fbpanel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jberkenbilt/fbpanel/git/refs{/sha}","trees_url":"https://api.github.com/repos/jberkenbilt/fbpanel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jberkenbilt/fbpanel/statuses/{sha}","languages_url":"https://api.github.com/repos/jberkenbilt/fbpanel/languages","stargazers_url":"https://api.github.com/repos/jberkenbilt/fbpanel/stargazers","contributors_url":"https://api.github.com/repos/jberkenbilt/fbpanel/contributors","subscribers_url":"https://api.github.com/repos/jberkenbilt/fbpanel/subscribers","subscription_url":"https://api.github.com/repos/jberkenbilt/fbpanel/subscription","commits_url":"https://api.github.com/repos/jberkenbilt/fbpanel/commits{/sha}","git_commits_url":"https://api.github.com/repos/jberkenbilt/fbpanel/git/commits{/sha}","comments_url":"https://api.github.com/repos/jberkenbilt/fbpanel/comments{/number}","issue_comment_url":"https://api.github.com/repos/jberkenbilt/fbpanel/issues/comments{/number}","contents_url":"https://api.github.com/repos/jberkenbilt/fbpanel/contents/{+path}","compare_url":"https://api.github.com/repos/jberkenbilt/fbpanel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jberkenbilt/fbpanel/merges","archive_url":"https://api.github.com/repos/jberkenbilt/fbpanel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jberkenbilt/fbpanel/downloads","issues_url":"https://api.github.com/repos/jberkenbilt/fbpanel/issues{/number}","pulls_url":"https://api.github.com/repos/jberkenbilt/fbpanel/pulls{/number}","milestones_url":"https://api.github.com/repos/jberkenbilt/fbpanel/milestones{/number}","notifications_url":"https://api.github.com/repos/jberkenbilt/fbpanel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jberkenbilt/fbpanel/labels{/name}","releases_url":"https://api.github.com/repos/jberkenbilt/fbpanel/releases{/id}","created_at":"2015-12-08T19:44:30Z","updated_at":"2015-12-08T19:44:31Z","pushed_at":"2015-12-09T16:37:07Z","git_url":"git://github.com/jberkenbilt/fbpanel.git","ssh_url":"git@github.com:jberkenbilt/fbpanel.git","clone_url":"https://github.com/jberkenbilt/fbpanel.git","svn_url":"https://github.com/jberkenbilt/fbpanel","homepage":" http://aanatoly.github.io/fbpanel/","size":3811,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aanatoly:develop","ref":"develop","sha":"6e06d5723a23153c3d45eed556922c2ddf995dc1","user":{"login":"aanatoly","id":6735508,"avatar_url":"https://avatars.githubusercontent.com/u/6735508?v=3","gravatar_id":"","url":"https://api.github.com/users/aanatoly","html_url":"https://github.com/aanatoly","followers_url":"https://api.github.com/users/aanatoly/followers","following_url":"https://api.github.com/users/aanatoly/following{/other_user}","gists_url":"https://api.github.com/users/aanatoly/gists{/gist_id}","starred_url":"https://api.github.com/users/aanatoly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aanatoly/subscriptions","organizations_url":"https://api.github.com/users/aanatoly/orgs","repos_url":"https://api.github.com/users/aanatoly/repos","events_url":"https://api.github.com/users/aanatoly/events{/privacy}","received_events_url":"https://api.github.com/users/aanatoly/received_events","type":"User","site_admin":false},"repo":{"id":47326350,"name":"fbpanel","full_name":"aanatoly/fbpanel","owner":{"login":"aanatoly","id":6735508,"avatar_url":"https://avatars.githubusercontent.com/u/6735508?v=3","gravatar_id":"","url":"https://api.github.com/users/aanatoly","html_url":"https://github.com/aanatoly","followers_url":"https://api.github.com/users/aanatoly/followers","following_url":"https://api.github.com/users/aanatoly/following{/other_user}","gists_url":"https://api.github.com/users/aanatoly/gists{/gist_id}","starred_url":"https://api.github.com/users/aanatoly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aanatoly/subscriptions","organizations_url":"https://api.github.com/users/aanatoly/orgs","repos_url":"https://api.github.com/users/aanatoly/repos","events_url":"https://api.github.com/users/aanatoly/events{/privacy}","received_events_url":"https://api.github.com/users/aanatoly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aanatoly/fbpanel","description":"lightweight X11 desktop panel","fork":false,"url":"https://api.github.com/repos/aanatoly/fbpanel","forks_url":"https://api.github.com/repos/aanatoly/fbpanel/forks","keys_url":"https://api.github.com/repos/aanatoly/fbpanel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aanatoly/fbpanel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aanatoly/fbpanel/teams","hooks_url":"https://api.github.com/repos/aanatoly/fbpanel/hooks","issue_events_url":"https://api.github.com/repos/aanatoly/fbpanel/issues/events{/number}","events_url":"https://api.github.com/repos/aanatoly/fbpanel/events","assignees_url":"https://api.github.com/repos/aanatoly/fbpanel/assignees{/user}","branches_url":"https://api.github.com/repos/aanatoly/fbpanel/branches{/branch}","tags_url":"https://api.github.com/repos/aanatoly/fbpanel/tags","blobs_url":"https://api.github.com/repos/aanatoly/fbpanel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aanatoly/fbpanel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aanatoly/fbpanel/git/refs{/sha}","trees_url":"https://api.github.com/repos/aanatoly/fbpanel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aanatoly/fbpanel/statuses/{sha}","languages_url":"https://api.github.com/repos/aanatoly/fbpanel/languages","stargazers_url":"https://api.github.com/repos/aanatoly/fbpanel/stargazers","contributors_url":"https://api.github.com/repos/aanatoly/fbpanel/contributors","subscribers_url":"https://api.github.com/repos/aanatoly/fbpanel/subscribers","subscription_url":"https://api.github.com/repos/aanatoly/fbpanel/subscription","commits_url":"https://api.github.com/repos/aanatoly/fbpanel/commits{/sha}","git_commits_url":"https://api.github.com/repos/aanatoly/fbpanel/git/commits{/sha}","comments_url":"https://api.github.com/repos/aanatoly/fbpanel/comments{/number}","issue_comment_url":"https://api.github.com/repos/aanatoly/fbpanel/issues/comments{/number}","contents_url":"https://api.github.com/repos/aanatoly/fbpanel/contents/{+path}","compare_url":"https://api.github.com/repos/aanatoly/fbpanel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aanatoly/fbpanel/merges","archive_url":"https://api.github.com/repos/aanatoly/fbpanel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aanatoly/fbpanel/downloads","issues_url":"https://api.github.com/repos/aanatoly/fbpanel/issues{/number}","pulls_url":"https://api.github.com/repos/aanatoly/fbpanel/pulls{/number}","milestones_url":"https://api.github.com/repos/aanatoly/fbpanel/milestones{/number}","notifications_url":"https://api.github.com/repos/aanatoly/fbpanel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aanatoly/fbpanel/labels{/name}","releases_url":"https://api.github.com/repos/aanatoly/fbpanel/releases{/id}","created_at":"2015-12-03T10:57:55Z","updated_at":"2015-12-06T01:09:25Z","pushed_at":"2015-12-09T16:37:07Z","git_url":"git://github.com/aanatoly/fbpanel.git","ssh_url":"git@github.com:aanatoly/fbpanel.git","clone_url":"https://github.com/aanatoly/fbpanel.git","svn_url":"https://github.com/aanatoly/fbpanel","homepage":" http://aanatoly.github.io/fbpanel/","size":3807,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aanatoly/fbpanel/pulls/20"},"html":{"href":"https://github.com/aanatoly/fbpanel/pull/20"},"issue":{"href":"https://api.github.com/repos/aanatoly/fbpanel/issues/20"},"comments":{"href":"https://api.github.com/repos/aanatoly/fbpanel/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/aanatoly/fbpanel/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/aanatoly/fbpanel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aanatoly/fbpanel/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/aanatoly/fbpanel/statuses/6fb3b26bcc7ce34e76cce4591157e281a6a95019"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":6,"changed_files":1}}