Commit graph

6 commits

Author SHA1 Message Date
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