Commit graph

7 commits

Author SHA1 Message Date
d6d2c3d787
X: Fix xinitrc keyboard language setting
Improved the language setting to simply make use of the search for
touchpad, just like setting the touchpad options.
Since these are my only two keyboards at the moment, the difference
should be meagre to non-existent in the way the old detection worked and
the new one does.
2021-04-12 18:37:30 +02:00
5973de3425
Fix for updated arch dmesg access policy
Archlinux changed the access to 'dmesg' to only be available to super
users with the following commit:
b78bc292e2 (diff-3e341d2d9c67be01819b25b25d5e53ea3cdf3a38d28846cda85a195eb9b7203a)

This changes the command to enabled touch pad tapping on X startup to a
systemd-compatible version, following the recommendation found here:
https://www.reddit.com/r/archlinux/comments/kqvotl/dmesg_cannot_be_run_as_normal_user_anymore/
2021-01-26 12:33:59 +01:00
b83929bcbd
services: Move flashfocus to systemd service
Removed manual initialization of flashfocus from xinitrc, enabled the
service in systemd.

Changed the restart timer to 5 seconds, to mirror other X-dependent user
services to circumvent systemd being too eager to start the service
before X is ready on booting.
2020-09-18 13:16:09 +02:00
51178df4a3
services: Add time override to greenclip, redshift
Both greenclip and redshift did not automatically start on system start,
since they needed X to be running but their restart was almost
instantaneously. So, they restarted their alloted 5 times before X was
ready and gave up.

Restart time has been set to 5 and 10 seconds, so their startup takes a
little longer but should, in most cases, succeed.
2020-07-29 08:13:25 +02:00
cfcd458427
[X] Correctly detect laptop or desktop for key map
While shellcheck complains that posix does not know about HOSTNAME
env var, it seems to be required for zsh/bash.
2020-07-24 14:07:37 +02:00
9872bdf3fe
[X] Fix flashfocus autostart error
Until flashfocus [#54](https://github.com/fennerm/flashfocus/issues/54)
is fixed, the short option for lone window flashing does not work as
expected. This changes it to use the long option instead.
2020-07-05 10:27:31 +02:00
a2ea57ad98
[X] Unify xresources, xdg, fontconfig modules
Removed modules for xdg folders and fontconfig setup, and unified it all
under the X heading, which now also houses the xresources module.
2020-06-05 22:22:16 +02:00