Commit graph

74 commits

Author SHA1 Message Date
Vincent Bernat
8de3fee271 xss-lock: notify earlier 2021-09-24 09:46:31 +02:00
Vincent Bernat
06a53bd9d0 xss-lock: give more notification time 2021-09-09 09:37:42 +02:00
Vincent Bernat
88695ec847 xss-lock: reduce timeout 2021-09-08 22:31:23 +02:00
Vincent Bernat
f7e0fd5250 dimmer: rename to xss-dimer 2021-08-10 16:17:02 +02:00
Vincent Bernat
89e38c3d25 xss-lock: document an alternative using xsecurelock and mpv
Also, it would be neat if --panscan=1.0 was enabled in mpv
configuration.
2021-08-09 19:51:14 +02:00
Vincent Bernat
e51bb453f6 xss-lock: remove unused function 2021-08-04 11:44:21 +02:00
Vincent Bernat
3d9c3e458c xss-lock: use a dimmer service to start/stop dimmer
This way, we can lock the screen before stopping dimmer.
2021-08-04 08:21:27 +02:00
Vincent Bernat
8d70ce8106 xss-lock: fix dimmer invocation
It should run in background.
2021-08-04 00:32:17 +02:00
Vincent Bernat
00b6359835 xss-lock: provide a dimmer written in Python 2021-08-04 00:01:48 +02:00
Vincent Bernat
ae6e89e27e xss-lock: correctly stop redshift 2021-07-15 20:55:46 +02:00
Vincent Bernat
84b1aa99cc i3-companion: don't restart everything on spurious RandR events 2021-07-15 15:14:39 +02:00
Vincent Bernat
dfb7cb555e xss-lock: do not trigger a XRandR event
I need to fix that later...
2021-07-15 11:35:19 +02:00
Vincent Bernat
2206d4f236 xss-lock: better comments 2021-07-07 18:55:50 +02:00
Vincent Bernat
fa589e3716 xss-lock: pause notifications when screen is locked 2021-07-07 18:54:18 +02:00
Vincent Bernat
d85a504c53 Initial i3 configuration
This is derived from my Awesome configuration. Still a lot to do from
a WM perspective. The organization is a bit different and I am giving
it up on the per-display systemd units as it does not really work due
to the fact we only have one user DBus and one environment.
2021-07-04 08:38:39 +02:00
Vincent Bernat
dd042ae594 xss-lock: don't suspend compositor on lock
Let's see if the confidentiality issue is still here. The problem with
suspending the compositor is that Firefox with EGL will freeze its
rendering. See https://bugzilla.mozilla.org/show_bug.cgi?id=1712665.

OK, the problem was that when screens are added/removed, i3lock is
unable to stay on top. I'll live with that for now.
2021-06-30 20:26:30 +02:00
Vincent Bernat
dd4449ef63 xss-lock: shorter timeouts for DPMS 2021-02-22 15:46:55 +01:00
Vincent Bernat
36951ef8ee xss-lock: derive notify from timeout 2021-01-23 11:50:49 +01:00
Vincent Bernat
a336b0d8df xss-lock: shift DPMS timeout multipliers 2021-01-04 23:28:41 +01:00
Vincent Bernat
c002f9c09e xss-lock: double timeout 2021-01-03 11:15:13 +01:00
Vincent Bernat
15a1063460 xss-lock: add some debug to understand while it may fail recently 2020-11-18 09:49:08 +01:00
Vincent Bernat
9f68632f4c xss-lock: use playerctl to pause music player 2020-09-24 21:21:32 +02:00
Vincent Bernat
db26403508 xss-lock: clear modifiers when calling XF86AudioStop
Otherwise, when using Mod4+Del to lock, it won't stop audio player
since it issues Mod4+XF86AudioStop.
2020-08-26 13:37:26 +02:00
Vincent Bernat
9b000caa1f Revert "picom: switch from compton to picom"
This reverts commit e6d1acc4ba. While
compton is unmaintained, it works for me. Unfortunately, I am unable
to find a solution to get picom working correctly. Both xr_gl_hybrid
and glx backends introduce some flickering while the xrender backend
is unable to remove tearing.
2020-08-19 14:55:52 +02:00
Vincent Bernat
e6d1acc4ba picom: switch from compton to picom
compton is unmaintained.
2020-07-31 21:30:37 +02:00
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