{"action":"created","issue":{"url":"https://api.github.com/repos/dylanaraps/neofetch/issues/119","repository_url":"https://api.github.com/repos/dylanaraps/neofetch","labels_url":"https://api.github.com/repos/dylanaraps/neofetch/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/dylanaraps/neofetch/issues/119/comments","events_url":"https://api.github.com/repos/dylanaraps/neofetch/issues/119/events","html_url":"https://github.com/dylanaraps/neofetch/pull/119","id":138038000,"number":119,"title":"Progress bar support.","user":{"login":"dylanaraps","id":6799467,"avatar_url":"https://avatars.githubusercontent.com/u/6799467?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanaraps","html_url":"https://github.com/dylanaraps","followers_url":"https://api.github.com/users/dylanaraps/followers","following_url":"https://api.github.com/users/dylanaraps/following{/other_user}","gists_url":"https://api.github.com/users/dylanaraps/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanaraps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanaraps/subscriptions","organizations_url":"https://api.github.com/users/dylanaraps/orgs","repos_url":"https://api.github.com/users/dylanaraps/repos","events_url":"https://api.github.com/users/dylanaraps/events{/privacy}","received_events_url":"https://api.github.com/users/dylanaraps/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dylanaraps/neofetch/labels/Enhancement","name":"Enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dylanaraps/neofetch/labels/Needs%20Testing","name":"Needs Testing","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-03T00:42:29Z","updated_at":"2016-03-07T12:51:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dylanaraps/neofetch/pulls/119","html_url":"https://github.com/dylanaraps/neofetch/pull/119","diff_url":"https://github.com/dylanaraps/neofetch/pull/119.diff","patch_url":"https://github.com/dylanaraps/neofetch/pull/119.patch"},"body":"This PR adds support for displaying a progress bar after certain info functions.\r\n\r\n![2016-03-03-141308_206x30_scrot](https://cloud.githubusercontent.com/assets/6799467/13483613/1cd0e1dc-e14a-11e5-8170-6de662cce562.png)\r\n\r\nThe progress bars are disabled by default and can be enabled by changing these\r\nflags/options to `on`.\r\n\r\n- `cpu_usage_bar`\r\n- `memory_bar`\r\n- `battery_bar`\r\n- `disk_bar`\r\n\r\nFeatures:\r\n\r\n- Print a progress bar in the `Memory`, `CPU Usage`, `Battery` and `Disk` info functions.\r\n- No loss in speed, the progress bar function is very simple. \r\n- New function `cpu_usage` to print the cpu usage as a percentage.\r\n- You can customize the length, colors and character used to render the progress bar.\r\n\r\nKnown bugs:\r\n\r\n- [x] ~~Memory progress bar is innacurate and doesn't work when ram is < 1GB used.~~\r\n- [x] ~~Memory may not work on Windows and Mac OS X.~~\r\n\r\nUnfinished: \r\n\r\n- [x] ~~Add progress bar support for `Disk Usage`.~~\r\n\r\nPlease test this out and let me know what you think! :)\r\n"},"comment":{"url":"https://api.github.com/repos/dylanaraps/neofetch/issues/comments/193237037","html_url":"https://github.com/dylanaraps/neofetch/pull/119#issuecomment-193237037","issue_url":"https://api.github.com/repos/dylanaraps/neofetch/issues/119","id":193237037,"user":{"login":"tudurom","id":10705228,"avatar_url":"https://avatars.githubusercontent.com/u/10705228?v=3","gravatar_id":"","url":"https://api.github.com/users/tudurom","html_url":"https://github.com/tudurom","followers_url":"https://api.github.com/users/tudurom/followers","following_url":"https://api.github.com/users/tudurom/following{/other_user}","gists_url":"https://api.github.com/users/tudurom/gists{/gist_id}","starred_url":"https://api.github.com/users/tudurom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tudurom/subscriptions","organizations_url":"https://api.github.com/users/tudurom/orgs","repos_url":"https://api.github.com/users/tudurom/repos","events_url":"https://api.github.com/users/tudurom/events{/privacy}","received_events_url":"https://api.github.com/users/tudurom/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T12:51:59Z","updated_at":"2016-03-07T12:51:59Z","body":"It's big because it needs to be. "}}