1ba65acfd6
Since I'm using EXWM, I'm unsure what benefits starting the Emacs server gives me. In the interest of cleaning up my xsessionrc, I'm deleting this.
30 lines
715 B
Bash
30 lines
715 B
Bash
#!/bin/sh
|
|
|
|
# Might be unnecessary...
|
|
. ~/.profile
|
|
|
|
export DESKTOP_SESSION=cinnamon # gnome for trusty.
|
|
|
|
# Desktop background color.
|
|
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 &
|
|
|
|
# `unclutter` hide the cursor in when it is inactive
|
|
unclutter &
|
|
|
|
# Startup Emacs (and EXWM).
|
|
# 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
|