Commit graph

679 commits

Author SHA1 Message Date
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
7163d9fa82 redshift: fix location 2020-01-21 07:06:30 +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
9b1c564a13 systemd: don't run inputplug in the background
This way, we will get messages during changes in journal.
2020-01-20 09:21:26 +01:00
Vincent Bernat
d1f696e088 systemd: don't run numlockx
I don't have a keyboard with numlock since quite a long time.
2020-01-19 22:47:06 +01:00
Vincent Bernat
0670abf9e3 systemd: fix location of numlockx 2020-01-19 22:45:33 +01:00
Vincent Bernat
89a830a67e redshift: use new syntax for location
At some point, geoclue2 could be used instead.
2020-01-19 22:28:55 +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
714f2aa0fc systemd: add some documentation 2020-01-19 20:37:28 +01:00
Vincent Bernat
b770f06714 systemd: be sure to reread user files on start 2020-01-19 20:33:57 +01:00
Vincent Bernat
29d7cacbaa systemd: teach how to reload xsettingsd 2020-01-19 20:33:49 +01:00
Vincent Bernat
47368b46dc systemd: remove all [Install] sections
Instead, we explicitely set dependencies in our own
graphical-session@.target.
2020-01-19 20:30:59 +01:00
Vincent Bernat
2e9fa46f2f systemd: create our own graphical-session@.target
graphical-session.target is an existing target for the system. While I
don't use several X sessions, I prefer to have each service bound to
the right display and therefore, I create my own
graphical-session@.target for this purpose.

Also, I don't like having to use `systemctl --user enable`, so I
enable everything directly in graphical-session@.target. Other
dependencies are ordered from awesome@.service. This seems good
enough.
2020-01-19 20:28:04 +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
0ba52f0e03 xsession: prepare for use of user systemd to start most services
See:
 - <https://goral.net.pl/post/systemd-x-sessions/>
 - <https://www.lukeshu.com/blog/x11-systemd.html>
2020-01-19 08:08:49 +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
76a2ce3511 xsession: use autorandr to setup X server 2020-01-15 16:25:24 +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
9763ef14f6 brightness: use brightnessctl 2020-01-12 17:24:10 +01:00
Vincent Bernat
26a3d833b8 signals: don't apply transparency to Firefox PIP window 2020-01-11 23:25:42 +01:00
Vincent Bernat
52adad2eab rules: add Firefox Picture-in-Picture as a floating window 2020-01-11 23:22:38 +01:00
Vincent Bernat
3c147837d7 rules: remove stuff for Flash 2020-01-11 23:22:29 +01:00
Vincent Bernat
c0e324ea73 widgets: new guybrush has its battery as BAT0 2020-01-11 23:08:41 +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
e3a6e9f7af requirements: gnome-settings-daemon needed for backlight 2019-12-21 20:17:30 +01:00
Vincent Bernat
fdf86b5354 icons: remove extra space 2019-12-20 22:11:29 +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
ff62552a43 quake: simplify logic about multiple quake consoles
We shouldn't need that anymore.
2019-10-12 11:43:36 +02:00
Vincent Bernat
119b69b111 quake: use only one quake console for all screens 2019-10-12 11:41:24 +02:00
Vincent Bernat
510fd7146d xsession: update redshift coordinates for Paris 2019-09-08 17:39:45 +02:00
Vincent Bernat
30ffe45ca1 xss-lock: no need to prefix variables with $ 2019-09-01 20:05:28 +02:00
Vincent Bernat
a2a2a44f5a xresources: restore xresources to speed up Emacs 2019-08-30 21:41:25 +02:00
Vincent Bernat
bc59486217 xsession: swap displays for neo 2019-08-25 12:57:54 +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