{"action":"created","issue":{"url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/3148","repository_url":"https://api.github.com/repos/qutebrowser/qutebrowser","labels_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/3148/labels{/name}","comments_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/3148/comments","events_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/3148/events","html_url":"https://github.com/qutebrowser/qutebrowser/pull/3148","id":266088951,"number":3148,"title":"Make fonts.monospace a list.","user":{"login":"rcorre","id":2496231,"avatar_url":"https://avatars3.githubusercontent.com/u/2496231?v=4","gravatar_id":"","url":"https://api.github.com/users/rcorre","html_url":"https://github.com/rcorre","followers_url":"https://api.github.com/users/rcorre/followers","following_url":"https://api.github.com/users/rcorre/following{/other_user}","gists_url":"https://api.github.com/users/rcorre/gists{/gist_id}","starred_url":"https://api.github.com/users/rcorre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcorre/subscriptions","organizations_url":"https://api.github.com/users/rcorre/orgs","repos_url":"https://api.github.com/users/rcorre/repos","events_url":"https://api.github.com/users/rcorre/events{/privacy}","received_events_url":"https://api.github.com/users/rcorre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-10-17T11:27:58Z","updated_at":"2017-10-31T11:35:40Z","closed_at":"2017-10-31T11:35:40Z","author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/qutebrowser/qutebrowser/pulls/3148","html_url":"https://github.com/qutebrowser/qutebrowser/pull/3148","diff_url":"https://github.com/qutebrowser/qutebrowser/pull/3148.diff","patch_url":"https://github.com/qutebrowser/qutebrowser/pull/3148.patch"},"body":"This makes the setting easier to manipulate in config.py.\r\n\r\nTo prepend your favorite font, instead of writing:\r\n\r\n```\r\nc.fonts.monospace = '\"Hack\", ' + c.fonts.monospace\r\n```\r\n\r\nYou can write\r\n\r\n```\r\nc.fonts.monospace.insert('Hack', 0)\r\n```\r\n\r\nResolves #3107.\r\n\r\nI also considered creating a `FontList` configtype that would format to a comma-separated string on the way out, but couldn't figure out which methods to override and wasn't sure if that was a better approach anyways.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/qutebrowser/qutebrowser/3148)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/comments/340736156","html_url":"https://github.com/qutebrowser/qutebrowser/pull/3148#issuecomment-340736156","issue_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/3148","id":340736156,"user":{"login":"The-Compiler","id":625793,"avatar_url":"https://avatars0.githubusercontent.com/u/625793?v=4","gravatar_id":"","url":"https://api.github.com/users/The-Compiler","html_url":"https://github.com/The-Compiler","followers_url":"https://api.github.com/users/The-Compiler/followers","following_url":"https://api.github.com/users/The-Compiler/following{/other_user}","gists_url":"https://api.github.com/users/The-Compiler/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Compiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Compiler/subscriptions","organizations_url":"https://api.github.com/users/The-Compiler/orgs","repos_url":"https://api.github.com/users/The-Compiler/repos","events_url":"https://api.github.com/users/The-Compiler/events{/privacy}","received_events_url":"https://api.github.com/users/The-Compiler/received_events","type":"User","site_admin":false},"created_at":"2017-10-31T11:35:40Z","updated_at":"2017-10-31T11:35:40Z","author_association":"COLLABORATOR","body":"I commented on #3107 and #2772 - thanks either way!"}}
{"actor":{"display_login":"The-Compiler"}}