Vincent Bernat
bd807d5f4c
lock: don't dim, use a notification
...
One time out of two, the screen will stay black. Moreover, since this is
not incorruptible, it is cumbersome to cancel it.
2014-09-14 18:55:57 +02:00
Vincent Bernat
863f117243
lock: add date/time to messages
2014-09-14 11:03:45 +02:00
Vincent Bernat
9d9234e4dd
lock: workaround race condition with dimming
...
For some reason, the race condition is here. Dunno how to fix it. Just
workaround it with another race condition... :(
2014-09-14 08:41:18 +02:00
Vincent Bernat
e251895730
lock: set minimum brightness to 1
...
This is done to avoid turning off the screen.
2014-09-14 08:39:37 +02:00
Vincent Bernat
83c49d1222
lock: avoid race condition with xbacklight
2014-09-13 20:33:17 +02:00
Vincent Bernat
8dc196e60d
lock: ensure that dim stops before end of period
...
Otherwise, we have concurrent xbacklight processes
2014-09-13 20:31:09 +02:00
Vincent Bernat
e0b246bee9
lock: add some debugging
2014-09-13 07:33:37 +02:00
Vincent Bernat
30767bea20
lock: ensure notification happens before timeout
2014-09-12 21:24:10 +02:00
Vincent Bernat
9eb6982085
lock: use more steps to fade screen
2014-09-12 21:23:36 +02:00
Vincent Bernat
35f0a4296b
lock: fade screen during 10 seconds
2014-09-12 21:23:15 +02:00
Vincent Bernat
bfb8c77781
lock: sleep a bit to let i3lock lock the screen
...
We could let i3lock fork to notify us but then, we have to spy on it to
know when the screen is unlocked.
2014-09-12 14:53:59 +02:00
Vincent Bernat
097e076694
lock: use xss-lock instead of xautolock
...
xss-lock features nice integration with standard X screensaver
feature which makes it easy to trigger it or to disable it. Moreover, it
also has some logind integration to lock screen before suspend.
2014-09-12 14:52:36 +02:00