Commit graph

7 commits

Author SHA1 Message Date
Marty Oehme 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
Marty Oehme 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
Marty Oehme 717f2a13d6
X: Remove xdg-user-dirs, manually set dirs with sh
We already have a file which is strictly dedicated to xdg setting
environment variables and taking care of folder creations.

Using xdg-user-dirs as an application was basically doubling up on that.
Also, I don't need my directories localized - I just want them to point
to exactly where they should.
2020-07-29 08:13:31 +02:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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