Commit graph

49 commits

Author SHA1 Message Date
Vincent Bernat
efe686b534 xss-lock: use more descriptive flags 2020-02-08 17:53:12 +01:00
Vincent Bernat
a42edf621a wallpaper: use a per-display wallpaper
Just to be coherent with having a per-display service and timer.
2020-02-07 09:58:02 +01:00
Vincent Bernat
08fa9a63d0 xrandr: don't poll hardware when it's not needed 2020-01-29 11:16:05 +01:00
Vincent Bernat
db92161900 xss-lock: use systemctl kill instead of extracting MainPID 2020-01-25 14:38:19 +01:00
Vincent Bernat
80cd6d2c26 xss-lock: use a simpler process to dim display
Just set a low brightness.
2020-01-24 23:02:07 +01:00
Vincent Bernat
9910ae4c11 xss-lock switch to BSOD 2020-01-24 22:49:34 +01:00
Vincent Bernat
84a6752c11 xss-lock: use xscreensaver barcode 2020-01-24 22:44:16 +01:00
Vincent Bernat
78512cf93a xss-lock: tentative to use transparency to notify 2020-01-24 21:54:03 +01:00
Vincent Bernat
c2128a109d xss-lock: revert previous commit but keep systemd changes 2020-01-24 19:59:40 +01:00
Vincent Bernat
340f063b4e xss-lock: tentative to keep current gamma
This doesn't seem to work. It seems xrandr 1.5.0 doesn't set gamma
values correctly, but even xrandr 1.5.1 seems to have an issue setting
the appropriate gamma value from an existing value.
2020-01-24 19:59:37 +01:00
Vincent Bernat
feb4ae0793 xss-lock: restore gamma/brightness on exit
redshift may take some time to restore it.
2020-01-24 19:18:18 +01:00
Vincent Bernat
2e3364e7ea xss-lock: sleeps more
Otherwise, no time to react.
2020-01-23 09:03:24 +01:00
Vincent Bernat
a44ed602d1 xss-lock: don't error if kill doesn't work
Most of the time, kill doesn't have anything to kill.
2020-01-20 15:16:23 +01:00
Vincent Bernat
9cbd2e30d6 xss-lock: fix invocation of notify method 2020-01-20 15:06:28 +01:00
Vincent Bernat
768e95d8a8 xss-lock: speed up dimming 2020-01-20 10:05:45 +01:00
Vincent Bernat
54a43e4cf8 xss-lock: don't barf too much on disconnected outputs when dimming 2020-01-20 10:05:00 +01:00
Vincent Bernat
49555f9771 xss-lock: sleep more when dimming the screen 2020-01-19 21:13:19 +01:00
Vincent Bernat
fe659c5b44 xss-lock: avoid too verbose logs
This is now logged by journald.
2020-01-19 21:05:23 +01:00
Vincent Bernat
2491973cab xss-lock: provide session ID directly
xss-lock is not able to grab it by itself. See
<https://bitbucket.org/raymonad/xss-lock/issues/13/allow-operation-as-systemd-user-unit>
2020-01-19 21:00:05 +01:00
Vincent Bernat
ae691bb025 systemd: tentative to manage session with systemd
To me, I think it was cleaner to have a parameter with the current
display. This way, the session is specific to the current display. It
seems BindsTo doesn't think this way.
2020-01-19 19:06:49 +01:00
Vincent Bernat
d5b72851ec xss-lock: dim instead of notify
Use xrandr. This doesn't require a backlight.
2020-01-19 18:06:06 +01:00
Vincent Bernat
825f7b5b27 compton: move to an helper binary 2020-01-17 09:58:07 +01:00
Vincent Bernat
cb8b1e5434 xss-lock: kill compton before locking
This way, we work around many many bugs.
2020-01-17 09:54:55 +01:00
Vincent Bernat
1937350a74 xss-lock: document how to prevent locking 2019-12-08 15:40:11 +01:00
Vincent Bernat
9653179899 xss-lock: reconfigure X screensaver on lock
Some software seem to disable everything for some reason. Dunno who
this is.
2019-12-08 12:23:51 +01:00
Vincent Bernat
30ffe45ca1 xss-lock: no need to prefix variables with $ 2019-09-01 20:05:28 +02:00
Vincent Bernat
66b9debba1 lock: i3lock is now able to use XSS_SLEEP_LOCK_FD directly 2016-06-06 10:20:15 +02:00
Vincent Bernat
c37d80aae4 Revert "lock: when going to sleep, clear ssh-agent keys"
This reverts commit b149d0a07a.
2016-01-24 13:41:37 +01:00
Vincent Bernat
b149d0a07a lock: when going to sleep, clear ssh-agent keys 2016-01-17 10:18:14 +01:00
Vincent Bernat
d5d723a350 lock: show number of failed attempts 2015-10-13 21:29:57 +02:00
Vincent Bernat
86c36c91c6 lock: more generic way to stop an audio player 2015-07-12 21:54:03 +02:00
Vincent Bernat
93a5cf16ba Revert "spotify: try to support the new version of Spotify"
This reverts commit 6c8985a9ae. Well, keep
old version of Spotify until MPRIS DBus support is updated.
2015-07-12 21:26:41 +02:00
Vincent Bernat
6c8985a9ae spotify: try to support the new version of Spotify
It doesn't provide a DBus interface. Try to use xdotool instead. For
some reason, not working.
2015-07-12 11:31:13 +02:00
Vincent Bernat
eafed94545 lock: wait a bit more before kicking DPMS 2015-06-20 13:58:42 +02:00
Vincent Bernat
742d8ddbf4 lock: set lock timeout to 5 minutes 2015-06-17 08:46:28 +02:00
Vincent Bernat
3f71120489 lock: tile the image for i3lock
This can be useful if the screen resolution changes during locking.
2015-02-06 13:44:42 +01:00
Vincent Bernat
27599fedcc lock: stop spotify when locking 2014-12-11 08:32:21 +01:00
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