{"action":"created","issue":{"url":"https://api.github.com/repos/meskarune/i3lock-fancy/issues/52","repository_url":"https://api.github.com/repos/meskarune/i3lock-fancy","labels_url":"https://api.github.com/repos/meskarune/i3lock-fancy/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/meskarune/i3lock-fancy/issues/52/comments","events_url":"https://api.github.com/repos/meskarune/i3lock-fancy/issues/52/events","html_url":"https://github.com/meskarune/i3lock-fancy/pull/52","id":175449759,"number":52,"title":"add -j|--jokes option, where it shows a random joke in jokes.txt file","user":{"login":"cer-nagas","id":10337031,"avatar_url":"https://avatars.githubusercontent.com/u/10337031?v=3","gravatar_id":"","url":"https://api.github.com/users/cer-nagas","html_url":"https://github.com/cer-nagas","followers_url":"https://api.github.com/users/cer-nagas/followers","following_url":"https://api.github.com/users/cer-nagas/following{/other_user}","gists_url":"https://api.github.com/users/cer-nagas/gists{/gist_id}","starred_url":"https://api.github.com/users/cer-nagas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cer-nagas/subscriptions","organizations_url":"https://api.github.com/users/cer-nagas/orgs","repos_url":"https://api.github.com/users/cer-nagas/repos","events_url":"https://api.github.com/users/cer-nagas/events{/privacy}","received_events_url":"https://api.github.com/users/cer-nagas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-07T09:02:44Z","updated_at":"2016-10-14T22:42:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/meskarune/i3lock-fancy/pulls/52","html_url":"https://github.com/meskarune/i3lock-fancy/pull/52","diff_url":"https://github.com/meskarune/i3lock-fancy/pull/52.diff","patch_url":"https://github.com/meskarune/i3lock-fancy/pull/52.patch"},"body":"Instead of writing the boring \"Type password to unlock\", I think it would be nice if we can show some random jokes while the monitor is locked with -j option.\r\nThe one-line-jokes can be stored in jokes.txt file, with one joke is (obviously) one line."},"comment":{"url":"https://api.github.com/repos/meskarune/i3lock-fancy/issues/comments/253937145","html_url":"https://github.com/meskarune/i3lock-fancy/pull/52#issuecomment-253937145","issue_url":"https://api.github.com/repos/meskarune/i3lock-fancy/issues/52","id":253937145,"user":{"login":"cer-nagas","id":10337031,"avatar_url":"https://avatars.githubusercontent.com/u/10337031?v=3","gravatar_id":"","url":"https://api.github.com/users/cer-nagas","html_url":"https://github.com/cer-nagas","followers_url":"https://api.github.com/users/cer-nagas/followers","following_url":"https://api.github.com/users/cer-nagas/following{/other_user}","gists_url":"https://api.github.com/users/cer-nagas/gists{/gist_id}","starred_url":"https://api.github.com/users/cer-nagas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cer-nagas/subscriptions","organizations_url":"https://api.github.com/users/cer-nagas/orgs","repos_url":"https://api.github.com/users/cer-nagas/repos","events_url":"https://api.github.com/users/cer-nagas/events{/privacy}","received_events_url":"https://api.github.com/users/cer-nagas/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T22:42:54Z","updated_at":"2016-10-14T22:42:54Z","body":"Sure, my lady. I have made the modifications you mentioned. It would be better that way. :)\r\n\r\nBut I'm thinking about 2 changes that can make it even better:\r\n1. When a joke/quote is long, it should be split into 2 lines. Is there an (easy and beautiful) way in doing so?\r\n2. The $RANDOM variable is now set as global, which may affect the -t (or other options) later on. I thought about instead of pure \"RANDOM=true\", could \"export RANDOM=true\" create a temporary variable inside the script and doesn't affect next time it's run? Or is there any alternative solution for this? I haven't tested it yet, since something is not right with my system and I'm busy with it. This can be marked as an issue, but I think it's not worth it so we can just talk about it here. :D"}}
{"actor":{"display_login":"cer-nagas"}}