{"action":"created","issue":{"url":"https://api.github.com/repos/bebehei/df/issues/21","repository_url":"https://api.github.com/repos/bebehei/df","labels_url":"https://api.github.com/repos/bebehei/df/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/bebehei/df/issues/21/comments","events_url":"https://api.github.com/repos/bebehei/df/issues/21/events","html_url":"https://github.com/bebehei/df/issues/21","id":306074642,"number":21,"title":"Invoke lockscreen **before** sleep","user":{"login":"bebehei","id":2073458,"avatar_url":"https://avatars1.githubusercontent.com/u/2073458?v=4","gravatar_id":"","url":"https://api.github.com/users/bebehei","html_url":"https://github.com/bebehei","followers_url":"https://api.github.com/users/bebehei/followers","following_url":"https://api.github.com/users/bebehei/following{/other_user}","gists_url":"https://api.github.com/users/bebehei/gists{/gist_id}","starred_url":"https://api.github.com/users/bebehei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebehei/subscriptions","organizations_url":"https://api.github.com/users/bebehei/orgs","repos_url":"https://api.github.com/users/bebehei/repos","events_url":"https://api.github.com/users/bebehei/events{/privacy}","received_events_url":"https://api.github.com/users/bebehei/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-16T20:58:50Z","updated_at":"2018-03-17T12:33:25Z","closed_at":null,"author_association":"OWNER","body":"Current:\n\nClose lid, laptop goes to sleep.\nOpen lid, laptop wakes up, xautolock determines clock jump, screen locked\n\nThe Problem:\n\nXautolock sometimes doesn't invoke the locker (because it couldn't detect the sleep?!). And if it detects the sleep correctly, xautolock takes a few seconds and unveils the display's content.\n\nIdea:\n\nThere must be a solution, where you can specify a pre-sleep job, which gets invoked after closing the lid, but before going to sleep. Invoking xautolock with this hook manually would be awesome.\n\nI guess this can get solved with a systemd service here."},"comment":{"url":"https://api.github.com/repos/bebehei/df/issues/comments/373916754","html_url":"https://github.com/bebehei/df/issues/21#issuecomment-373916754","issue_url":"https://api.github.com/repos/bebehei/df/issues/21","id":373916754,"user":{"login":"bebehei","id":2073458,"avatar_url":"https://avatars1.githubusercontent.com/u/2073458?v=4","gravatar_id":"","url":"https://api.github.com/users/bebehei","html_url":"https://github.com/bebehei","followers_url":"https://api.github.com/users/bebehei/followers","following_url":"https://api.github.com/users/bebehei/following{/other_user}","gists_url":"https://api.github.com/users/bebehei/gists{/gist_id}","starred_url":"https://api.github.com/users/bebehei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebehei/subscriptions","organizations_url":"https://api.github.com/users/bebehei/orgs","repos_url":"https://api.github.com/users/bebehei/repos","events_url":"https://api.github.com/users/bebehei/events{/privacy}","received_events_url":"https://api.github.com/users/bebehei/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T12:33:25Z","updated_at":"2018-03-17T12:33:25Z","author_association":"OWNER","body":"This looks quite promising, but it requires elevated privileges: https://wiki.freedesktop.org/www/Software/systemd/inhibit/\r\n\r\nI guess having a look at GDM might be a good choice."}}
{"actor":{"display_login":"bebehei"}}