Commit graph

672 commits

Author SHA1 Message Date
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
d1879ae338 xsettingsd: correct DISPLAY for the whole script 2020-01-22 22:38:57 +01:00
Vincent Bernat
95bf8a3723 input: invoke autorandr through systemd when needed 2020-01-22 22:37:42 +01:00
Vincent Bernat
2452fb6bcb xsettingsd: remove extra .0 awesome puts at the end of DISPLAY
Awesome likes to use :0.0 for DISPLAY because it thinks we are using
Zaphod and not Xinerama.
2020-01-22 22:34:28 +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
846566c70f xsettingsd: skip gamma when getting current profile with xrandr 2020-01-17 11:05:50 +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
5ab1f901dd xsettingsd: use autorandr current profile 2020-01-16 21:31:23 +01:00
Vincent Bernat
556aa785e8 input: invoke autorandr explicitely
Acting on DRM change is a bad idea as monitors come and go during
detection and autorandr running in parallel is not reliable enough.
2020-01-16 12:15:14 +01:00
Vincent Bernat
2c5b0fead8 input: trackpoint is now OK, no need to keep cruft 2020-01-15 11:48:28 +01:00
Vincent Bernat
55eda7d06f input: no need to dock when detecting keyboard
Nowadays, we get the appropriate events from udev and autorandr
handles that.
2020-01-15 11:47:51 +01:00
Vincent Bernat
b997e0be4d input: handle guybrush the same way as for zoro 2020-01-13 16:43:57 +01:00
Vincent Bernat
1adb48052d xsettingsd: simplify DPI settings 2020-01-12 17:29:20 +01:00
Vincent Bernat
c65804df94 input: remove configuration for Microsoft mouse
Not using it anymore.
2020-01-11 22:40:40 +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
6b987d45c2 Revert "xsettings: change DPI twice again"
This reverts commit 1aa3f19a7d. This
doesn't work. For some reason.
2019-07-18 17:36:46 +02:00
Vincent Bernat
1aa3f19a7d xsettings: change DPI twice again 2019-07-18 10:52:10 +02:00
Vincent Bernat
b7150025e0 xsettings: don't change DPI twice
Firefox only uses window scaling during runtime.
2019-05-28 21:13:22 +02:00
Vincent Bernat
cb25670d97 xsettings: set RGBA depending on the DPI setting
When using low DPI, it's still useful to have it.
2019-05-28 11:55:48 +02:00
Vincent Bernat
efb006065b xsettings: make Firefox more happy with DPI changes
See https://bugzilla.mozilla.org/show_bug.cgi?id=1554850
2019-05-28 09:23:31 +02:00
Vincent Bernat
7d2a8408f3 input: set acceleration for Logitech mouse 2019-04-27 21:07:33 +02:00
Vincent Bernat
2f05c2f58d input: dock when detecting RealForce keyboard 2019-03-08 11:23:06 +01:00
Vincent Bernat
637b80bcec input: don't dock with Realforce 2019-01-23 09:59:45 +01:00
Vincent Bernat
194da94c77 input: don't mangle trackpoint 2018-08-31 22:59:55 +02:00
Vincent Bernat
67e6743445 wallpaper: don't take too many images
Otherwise, smaller ones will never get chosen. Dual screens one are
already favored.
2018-08-28 09:51:58 +02:00
Vincent Bernat
8689e2583a input: make compose work with any right key 2018-08-22 19:44:50 +02:00
Vincent Bernat
c3f44fb0c3 wallpaper: python3 compatibility 2018-08-05 22:37:42 +02:00
Vincent Bernat
197e5cdb1d wallpaper: favor bigger images 2018-08-02 23:21:36 +02:00
Vincent Bernat
2588551af0 wallpaper: handle wide wallpapers 2018-08-01 14:24:53 +02:00
Vincent Bernat
bf0483f610 xsettings: correctly compute Gdk/UnscaledDPI value
For fractional scaling factor, it's not always 96dpi.
2018-07-29 00:02:45 +02:00
Vincent Bernat
d52488e1c9 xsettings: always set Gdk/* properties
It shouldn't hurt if we use 1 as scaling factor.
2018-07-27 22:53:54 +02:00
Vincent Bernat
387c6d0078 xsettings: use xsettings to set scale factor 2018-07-27 22:50:05 +02:00
Vincent Bernat
1aa03a9044 xsettings: configure neo for new 4K screens 2018-07-27 21:44:16 +02:00
Vincent Bernat
846cd2f680 input-event: fix accel of trackpoint 2018-07-22 12:15:01 +02:00
Vincent Bernat
c46a44d646 input: try to handle undocking too 2018-07-04 18:46:38 +02:00
Vincent Bernat
faabca55e2 input: try natural scrolling for synaptics touchpad 2016-07-31 13:45:58 +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