Commit graph

672 commits

Author SHA1 Message Date
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
057c3daf07 ssh: add all SSH keys in ssh-agent on start 2020-11-22 10:45:20 +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
590a3b6662 input-event: make 3 tries to setup blade profile 2020-09-09 17:09:26 +02:00
Vincent Bernat
ce9021003f input-event: sleep a bit before trying to switch to Blade profile
DP training can take some time.
2020-09-08 16:15:55 +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
667d50d496 bin: center xdg-chooser-app on the current screen 2020-05-17 15:47:51 +02:00
Vincent Bernat
7d6866e3f9 bin: explain how to change default MIME type 2020-05-17 15:33:42 +02:00
Vincent Bernat
81715cabc7 bin: add xdg-app-chooser 2020-05-17 13:23:47 +02:00
Vincent Bernat
0d7c70a2ec systemd: don't use a script to update defaults
Just update ~/.config/mimeapps.list manually (and sync it).
2020-05-10 16:31:56 +02:00
Vincent Bernat
3ffca01c5a systemd: move XDG MIME defaults to a script 2020-05-10 16:31:24 +02:00
Vincent Bernat
003c91e1db input-event: sleep a bit if we are not able to load blade profile 2020-02-24 18:35:05 +01:00
Vincent Bernat
efe686b534 xss-lock: use more descriptive flags 2020-02-08 17:53:12 +01:00
Vincent Bernat
675ae761df xsettings: remove reference to xsettingsd.local 2020-02-08 16:44:17 +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
01622fd884 wallpaper: don't create symlinks
This is useless.
2020-02-06 22:06:24 +01:00
Vincent Bernat
aaaebf3302 wallpaper: lower compression level
Otherwise, we use quite a lot of CPU to save the PNG image.
2020-02-06 22:04:14 +01:00
Vincent Bernat
ffeef58722 wallpaper: change default target name to .png
We are using PNG because i3lock is using PNG.
2020-02-06 22:00:58 +01:00
Vincent Bernat
ea3c1fd58b wallpaper: remove unused import 2020-02-06 21:59:29 +01:00
Vincent Bernat
a9767ec55e input: try to be faster by just loading blade profile when docking 2020-02-04 11:26:06 +01:00
Vincent Bernat
a0878c93b6 input: add more debug output 2020-02-04 11:23:19 +01:00
Vincent Bernat
0d3dca998b xsettingsd: fix selected dpi 2020-01-31 10:08:37 +01:00
Vincent Bernat
9eab93570d xsettingsd: use first screen DPI as DPI for the session 2020-01-31 07:24:52 +01:00
Vincent Bernat
498606b38e xsettingsd: don't use a subshell when computing DPI
This is to be able to use `dpi` variable. Also, for some reason, the
journal doesn't keep the output of short-lived processes.
2020-01-31 07:14:28 +01:00
Vincent Bernat
139af6fed5 xsettingsd: fix typo in case 2020-01-31 00:00:07 +01:00
Vincent Bernat
c944c7855d xsettingsd: fix inlining of the change() function 2020-01-30 08:22:36 +01:00
Vincent Bernat
6625f42128 xsettingsd: explain more the problem with automatic DPI detection 2020-01-30 08:09:05 +01:00
Vincent Bernat
db5f5743b9 xsettingsd: improve automatic DPI detection
For laptops, we don't want the same as for regular screens.
2020-01-29 23:47:03 +01:00
Vincent Bernat
57af83356b xsettingsd: remove "change()" function 2020-01-29 23:12:55 +01:00
Vincent Bernat
96a9b401a4 xsettingsd: also set RandR DPI 2020-01-29 11:37:23 +01:00
Vincent Bernat
1902a4f0b5 xsettingsd: compute best DPI value for each screen 2020-01-29 11:37:12 +01:00
Vincent Bernat
1411929ead xsettings: fix DPI computation 2020-01-29 11:34:00 +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
2fa5ff7a38 xsettingsd: compute DPI for each screen
We don't use the information yet.
2020-01-29 04:59:12 +01:00
Vincent Bernat
2511f41461 xsettingsd: don't use autorandr --skip-options
Instead, move it in settings.ini.
2020-01-29 04:44:46 +01:00
Vincent Bernat
ea1e26d35d input: fix event-handling in input-event script 2020-01-27 13:18:16 +01:00
Vincent Bernat
fba67da888 input: don't print anything for removed stuff 2020-01-26 18:39:41 +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