jD91mZM2 / xidlehook

GitLab: https://gitlab.com/jD91mZM2/xidlehook
MIT License
387 stars 33 forks source link

Locking the screen on laptop close #10

Closed chopfitzroy closed 5 years ago

chopfitzroy commented 5 years ago

Currently I use xss-lock to lock my screen if I close my laptop like so:

xss-lock -- "$HOME/.utility/lock" &

Based on the description I would think that this sort of functionality should be left with xss-lock but I just wanted to double check, obviously if I could do both with xidkehook I would.

jD91mZM2 commented 5 years ago

Not supported at the moment, though you could use xss-lock to trigger the timer using xidlehook sockets to better integrate it :)

chopfitzroy commented 5 years ago

Hahaha I will have to do some googling to figure that one out, but I appreciate it :)

Soneji commented 5 years ago

Is there any plans to implement this any time soon?

jD91mZM2 commented 5 years ago

There are not. I can reopen this issue if you feel like this is worth having built-in

Soneji commented 5 years ago

Nah don't worry about it. I added it using a systemd service run on suspend