2019-03-18 16:56:03 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2019-10-09 13:13:56 +02:00
|
|
|
# Might be unnecessary...
|
|
|
|
. ~/.profile
|
2019-03-18 16:56:03 +01:00
|
|
|
|
|
|
|
export DESKTOP_SESSION=cinnamon # gnome for trusty.
|
|
|
|
|
|
|
|
# Desktop background color.
|
|
|
|
xsetroot -solid "#333333"
|
|
|
|
|
2019-10-09 13:13:56 +02:00
|
|
|
# Set fallback cursor.
|
|
|
|
xsetroot -cursor_name left_ptr
|
|
|
|
|
|
|
|
# Start ssh-agent
|
|
|
|
eval "$(ssh-agent -s)"
|
|
|
|
|
|
|
|
# TODO: Prefer `systemctl start docker.service`
|
|
|
|
dockerd &
|
|
|
|
|
2019-05-13 17:35:38 +02:00
|
|
|
# start compton for shadows, transparency, fading, etc.
|
2019-10-09 13:13:56 +02:00
|
|
|
# TODO: Consider starting this with `systemctl --user enable compton.service`
|
2019-04-15 14:24:28 +02:00
|
|
|
compton &
|
|
|
|
|
2019-10-09 13:13:56 +02:00
|
|
|
# `unclutter` hide the cursor in when it is inactive
|
|
|
|
unclutter &
|
2019-03-23 17:31:59 +01:00
|
|
|
|
2019-10-09 13:13:56 +02:00
|
|
|
# Startup Emacs (and EXWM).
|
2020-01-06 16:01:39 +01:00
|
|
|
# TODO: Do I even want `--exit-with-session`? This makes debugging Emacs more
|
|
|
|
# expensive than perhaps it should be.
|
|
|
|
exec dbus-launch --exit-with-session emacs
|