Start lorri daemon in ~/.profile

This does two things:
1. Starts lorri daemon
2. Moves ssh-agent and docker daemon startup calls to ~/.profile

I'm still not entirely sure when ~/.profile is evaluated... I'd like to use
systemd to startup and manage these background services, but I currently don't
have a strong enough desire to do this.
This commit is contained in:
William Carroll 2020-02-06 22:21:15 +00:00
parent 185fa0dda5
commit c15a393112
2 changed files with 16 additions and 16 deletions

View file

@ -1,4 +1,5 @@
#!/bin/sh
# Might be unnecessary...
. ~/.profile
@ -10,12 +11,6 @@ xsetroot -solid "#333333"
# Set fallback cursor.
xsetroot -cursor_name left_ptr
# Start ssh-agent
eval "$(ssh-agent -s)"
# TODO: Prefer `systemctl start docker.service`
dockerd &
# start compton for shadows, transparency, fading, etc.
# TODO: Consider starting this with `systemctl --user enable compton.service`
compton &